diff --git a/machines/durruti/host_config.nix b/machines/durruti/host_config.nix index 56ee106..92f6c0d 100644 --- a/machines/durruti/host_config.nix +++ b/machines/durruti/host_config.nix @@ -85,6 +85,7 @@ in proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; proxy_set_header Authorization $http_authorization; + proxy_pass_header Authorization ''; }; }; diff --git a/machines/vpn/configuration.nix b/machines/vpn/configuration.nix index ceb1bc4..0f99718 100644 --- a/machines/vpn/configuration.nix +++ b/machines/vpn/configuration.nix @@ -76,6 +76,7 @@ with lib; 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; ''; }; };