Correct path.

This commit is contained in:
2025-07-29 19:52:41 +02:00
parent f314d57453
commit 319ee0f402

View File

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