Fix Nginx proxy_pass trailing slash
This commit is contained in:
@@ -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";
|
||||
|
||||
Reference in New Issue
Block a user