From 319ee0f402e45dae0f9030741b4ac9c6a98d32ba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C3=A5l-Kristian=20Hamre?= Date: Tue, 29 Jul 2025 19:52:41 +0200 Subject: [PATCH] Correct path. --- config/nginx/rstat.net-SSL.conf | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/config/nginx/rstat.net-SSL.conf b/config/nginx/rstat.net-SSL.conf index 275e518..1b0ad3a 100644 --- a/config/nginx/rstat.net-SSL.conf +++ b/config/nginx/rstat.net-SSL.conf @@ -14,14 +14,18 @@ server { add_header Strict-Transport-Security "max-age=63072000" always; 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; + root /usr/share/nginx/www.rstat.net; } + + #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