diff --git a/plugins/nginx-vhosts/post-deploy b/plugins/nginx-vhosts/post-deploy index 615221d73..30b0dfb4a 100755 --- a/plugins/nginx-vhosts/post-deploy +++ b/plugins/nginx-vhosts/post-deploy @@ -12,11 +12,11 @@ server { location / { proxy_pass http://$APP; proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; + proxy_set_header Upgrade \$http_upgrade; proxy_set_header Connection "upgrade"; } } EOF nc -U $HOME/reload-nginx echo "$hostname" > "$HOME/$APP/VHOST" -fi \ No newline at end of file +fi