This commit is contained in:
jain
2023-06-27 17:27:19 +05:30
parent 8ff142ce2f
commit ad582d77d7
50 changed files with 0 additions and 0 deletions

24
nginx/django.conf Normal file
View 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/;
}
}