gmba_django/nginx/nginx.conf

21 lines
340 B
Nginx Configuration File
Raw Normal View History

upstream gmba_django {
2022-09-19 03:57:24 +00:00
server web:8000;
}
server {
listen 80;
location / {
proxy_pass http://gmba_django;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header Host $host;
proxy_redirect off;
}
location /static/ {
2022-09-19 04:27:57 +00:00
alias /home/app/app/static/;
}
}