Correct path.
This commit is contained in:
@@ -14,14 +14,18 @@ server {
|
|||||||
add_header Strict-Transport-Security "max-age=63072000" always;
|
add_header Strict-Transport-Security "max-age=63072000" always;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
root /usr/share/nginx/www.rstat.net;
|
||||||
proxy_set_header X-Forwarded-Proto $scheme;
|
|
||||||
proxy_set_header X-Real-IP $remote_addr;
|
|
||||||
proxy_set_header Host $http_host;
|
|
||||||
|
|
||||||
proxy_pass http://varnish:80;
|
|
||||||
proxy_redirect off;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#location / {
|
||||||
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
# proxy_set_header X-Forwarded-Proto $scheme;
|
||||||
|
# proxy_set_header X-Real-IP $remote_addr;
|
||||||
|
# proxy_set_header Host $http_host;
|
||||||
|
|
||||||
|
# proxy_pass http://varnish:80;
|
||||||
|
# proxy_redirect off;
|
||||||
|
#}
|
||||||
}
|
}
|
||||||
|
|
||||||
# intermediate configuration
|
# intermediate configuration
|
||||||
|
Reference in New Issue
Block a user