mirror of
https://github.com/dokku/dokku.git
synced 2026-02-24 04:00:36 +01:00
Merge pull request #64 from asm89/patch-2
Escape variable in nginx post-deploy script
This commit is contained in:
@@ -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
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user