diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index 0f99718d..6eb1d22d 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -72,11 +72,6 @@ with lib; proxyPass = "http://10.100.0.101"; extraConfig = '' 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; - proxy_set_header Authorization $http_authorization; # Pass the Authorization header - proxy_pass_header Authorization; ''; }; };