Fix Nginx proxy_pass trailing slash

This commit is contained in:
2025-12-25 16:45:29 +01:00
parent 971996cec7
commit 9eb35b54e6

View File

@@ -64,7 +64,7 @@ location /terminal/ {
# auth_basic "Crumbforest Terminal";
# auth_basic_user_file /etc/nginx/.htpasswd;
proxy_pass http://127.0.0.1:7681/; # Trailing slash is important for TTYD base path
proxy_pass http://127.0.0.1:7681; # No trailing slash: pass path as-is to TTYD
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";