diff --git a/net/nginx/files-luci-support/60_nginx-luci-support b/net/nginx/files-luci-support/60_nginx-luci-support index 700ef797d..1a4f558d4 100644 --- a/net/nginx/files-luci-support/60_nginx-luci-support +++ b/net/nginx/files-luci-support/60_nginx-luci-support @@ -12,9 +12,9 @@ location /ubus { location ~ ^/ttyd(.*)$ { proxy_http_version 1.1; - proxy_set_header Upgrade '$http_upgrade'; + proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; - proxy_pass http://'$server_addr':7681/'$1'; + proxy_pass http://\$server_addr:7681/\$1; } EOT