From a420f97a2a9a8c391f581668ea57a732f0b119ad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Th=C3=A9o=20Barnouin?= Date: Wed, 16 Oct 2024 11:19:20 +0200 Subject: [PATCH] Change authentik IP in nginx vshosts --- services/nginx/default.nix | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/services/nginx/default.nix b/services/nginx/default.nix index 40621db..498c894 100644 --- a/services/nginx/default.nix +++ b/services/nginx/default.nix @@ -55,16 +55,16 @@ in https "max-age=31536000; includeSubdomains; preload"; } add_header Strict-Transport-Security $hsts_header; - + # Enable CSP for your services. #add_header Content-Security-Policy "script-src 'self'; object-src 'none'; base-uri 'none';" always; - + # Minimize information leaked to other domains add_header 'Referrer-Policy' 'origin-when-cross-origin'; - + # Disable embedding as a frame add_header X-Frame-Options DENY; - + # Prevent injection of code in other mime types (XSS Attacks) add_header X-Content-Type-Options nosniff; client_body_buffer_size 400M; @@ -121,7 +121,7 @@ in forceSSL = true; enableACME = true; locations."/" = { - proxyPass = "http://192.168.1.25:9000"; + proxyPass = "http://192.168.1.125:9000"; recommendedProxySettings = true; proxyWebsockets = true; };