mirror of
https://github.com/HamzaSha1/zod-backend.git
synced 2025-11-26 16:44:54 +00:00
changes
This commit is contained in:
24
nginx/django.conf
Normal file
24
nginx/django.conf
Normal file
@ -0,0 +1,24 @@
|
||||
upstream web {
|
||||
ip_hash;
|
||||
server web:8000;
|
||||
}
|
||||
|
||||
# portal
|
||||
server {
|
||||
location / {
|
||||
proxy_pass http://web/;
|
||||
proxy_set_header Host $http_host;
|
||||
}
|
||||
listen 8000;
|
||||
client_max_body_size 512M;
|
||||
server_name localhost;
|
||||
proxy_read_timeout 900;
|
||||
proxy_connect_timeout 900;
|
||||
proxy_send_timeout 900;
|
||||
#proxy_set_header Host $http_host;
|
||||
|
||||
location /static {
|
||||
autoindex on;
|
||||
alias /usr/src/app/zod_bank/static/;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user