Files
agiledancers/agiledancers-fe/nginx/default.conf.template
Wanja Krah 1b4c7f7f2f
All checks were successful
Build, test and publish / verify (push) Successful in 1m48s
S9 OR Tools basic scheduling
2026-10-30 15:00:45 +01:00

21 lines
517 B
Plaintext

server {
listen 8080;
server_name _;
root /usr/share/nginx/html;
index index.html;
location /api/ {
proxy_read_timeout 1860s;
proxy_send_timeout 1860s;
proxy_pass http://${BACKEND_UPSTREAM};
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;
}
location / {
try_files $uri $uri/ /index.html;
}
}