add back backslashes
This commit is contained in:
@@ -73,10 +73,10 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header Host \\\\\$http_host;
|
proxy_set_header Host \\\\\\\$http_host;
|
||||||
proxy_set_header X-Real-IP \\\\\$remote_addr;
|
proxy_set_header X-Real-IP \\\\\\\$remote_addr;
|
||||||
proxy_set_header X-Forwarded-For \\\\\$proxy_add_x_forwarded_for;
|
proxy_set_header X-Forwarded-For \\\\\\\$proxy_add_x_forwarded_for;
|
||||||
proxy_set_header X-Forwarded-Proto \\\\\$scheme;
|
proxy_set_header X-Forwarded-Proto \\\\\\\$scheme;
|
||||||
proxy_pass http://unix:/home/centos/mysite/mysite.sock;
|
proxy_pass http://unix:/home/centos/mysite/mysite.sock;
|
||||||
}
|
}
|
||||||
}\" > /etc/nginx/conf.d/mysite.conf
|
}\" > /etc/nginx/conf.d/mysite.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user