add back backslashes

This commit is contained in:
ducoterra
2018-09-12 11:23:14 -04:00
parent 7c8dbd9cd6
commit 900df82f30

View File

@@ -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