2026-02-08 17:55:09 -05:00
|
|
|
server {
|
|
|
|
|
listen 80;
|
2026-02-18 23:04:21 -05:00
|
|
|
server_name {{ django_allowed_host | replace(',', ' ')}};
|
2026-02-08 17:55:09 -05:00
|
|
|
|
|
|
|
|
location /static/ {
|
|
|
|
|
alias /var/www/gamearray/static/;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location / {
|
|
|
|
|
proxy_pass http://127.0.0.1:8888;
|
|
|
|
|
proxy_set_header Host $host;
|
|
|
|
|
proxy_set_header X-Real-IP $remote_addr;
|
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
|
}
|
|
|
|
|
}
|