From 6473ce5e6506452c45abc7934edade218c37a208 Mon Sep 17 00:00:00 2001 From: hodasemi Date: Fri, 13 Jun 2025 09:58:50 +0200 Subject: [PATCH] Test more extra configs --- git_system.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/git_system.nix b/git_system.nix index c017c57..900dfe9 100644 --- a/git_system.nix +++ b/git_system.nix @@ -36,6 +36,11 @@ in enableACME = true; extraConfig = '' client_max_body_size 512M; + + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; ''; locations."/".proxyPass = "http://localhost:${toString srv.HTTP_PORT}"; };