Escape dollar signs in put guestbook script
This commit is contained in:
parent
e99f33fbdd
commit
093b5cc69f
@ -1,6 +1,6 @@
|
||||
#!/bin/sh
|
||||
|
||||
nginx_dir=${1:-$nginx_dir}
|
||||
nginx_dir=${1:-/etc/nginx}
|
||||
|
||||
sudo pacman -Syu nginx
|
||||
|
||||
@ -57,11 +57,11 @@ server {
|
||||
|
||||
location / {
|
||||
proxy_pass http://soc;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP \\\$remote_addr;
|
||||
proxy_set_header X-Forwarded-For \\\$proxy_add_x_forwarded_for;
|
||||
proxy_set_header Host \\\$host;
|
||||
proxy_http_version 1.1;
|
||||
proxy_set_header Upgrade $http_upgrade;
|
||||
proxy_set_header Upgrade \\\$http_upgrade;
|
||||
proxy_set_header Connection "upgrade";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user