Changeset 0.24.1 (#157)
This commit is contained in:
@@ -5,7 +5,7 @@ server {
|
||||
index index.html;
|
||||
|
||||
# Backend upstream (unified container: localhost:8080)
|
||||
set $backend http://localhost:8080;
|
||||
set $backend http://127.0.0.1:8080;
|
||||
|
||||
# Gzip
|
||||
gzip on;
|
||||
@@ -21,7 +21,7 @@ server {
|
||||
}
|
||||
|
||||
# ── API + WebSocket → backend ────────────
|
||||
location /api/ {
|
||||
location ^~ /api/ {
|
||||
proxy_pass $backend;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Host $host;
|
||||
|
||||
Reference in New Issue
Block a user