missing leading slash -> escape $ sign

pull/128/head
Hisham 2022-02-28 18:17:58 +11:00
parent 240a46cf9d
commit 7edc4d4579
1 changed files with 1 additions and 1 deletions

View File

@ -273,7 +273,7 @@ echo "" > /etc/nginx/http1.1.upstream.conf
if [[ "a${FORCE_UPSTREAM_HTTP_1_1}" == "atrue" ]]; then if [[ "a${FORCE_UPSTREAM_HTTP_1_1}" == "atrue" ]]; then
cat << EOD > /etc/nginx/http1.1.upstream.conf cat << EOD > /etc/nginx/http1.1.upstream.conf
proxy_http_version 1.1; proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade; proxy_set_header Upgrade \$http_upgrade;
proxy_set_header Connection "upgrade"; proxy_set_header Connection "upgrade";
EOD EOD
fi fi