change configs for deployment

This commit is contained in:
2026-03-18 02:55:58 +08:00
parent 3d44ce6e3d
commit 86c97391fe
5 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ location ^~ /s/static/ {
# --- Proxy everything else under /s/ to the Python backend ---
# Covers: /s/api/shorten, /s/api/urls, /s/api/lookup, /s/<code> redirects
location /s/ {
proxy_pass http://urlshort:8080;
proxy_pass http://127.0.0.1:18082;
proxy_http_version 1.1;
proxy_set_header Host $host;