Files
tsumugu/frontend/nginx.conf
T
LarsandCursor 544c44ca04
Deploy Development / deploy (push) Failing after 27s
Deploy Production / deploy (push) Failing after 16s
Richte das Tsumugu-Deployment nach dem Kansho-Mechanismus ein.
Der Pi-Runner veröffentlicht develop nach tsumugu-dev und main nach tsumugu.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-10-15 09:42:24 +02:00

24 lines
626 B
Nginx Configuration File

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
resolver 127.0.0.11 valid=10s ipv6=off;
location ^~ /api/ {
set $docker_backend_svc backend;
proxy_pass http://$docker_backend_svc:8000$request_uri;
proxy_http_version 1.1;
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;
proxy_read_timeout 600s;
}
location / {
try_files $uri $uri/ /index.html;
}
}