2022-08-25 08:27:48 +00:00
|
|
|
upstream gmba_django {
|
2022-09-19 03:57:24 +00:00
|
|
|
server web:8000;
|
2022-08-25 08:27:48 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
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;
|
|
|
|
}
|
|
|
|
|
2022-09-19 04:12:19 +00:00
|
|
|
|
|
|
|
location /static/ {
|
2022-09-19 04:27:57 +00:00
|
|
|
alias /home/app/app/static/;
|
2022-09-19 04:12:19 +00:00
|
|
|
}
|
|
|
|
|
2022-08-25 08:27:48 +00:00
|
|
|
}
|