Escape variable in nginx post-deploy script

`$http_upgrade` is supposed to be a variable set by nginx. It was now substituted by nothing.
This commit is contained in:
Alexander
2013-07-01 11:33:23 +02:00
parent 0b07e4e4e3
commit 4f07b7af1c

View File

@@ -12,7 +12,7 @@ server {
location / { location / {
proxy_pass http://$APP; proxy_pass http://$APP;
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";
} }
} }