commit 637f762bf73cd1b0e6e155cb29e9de37a23cbb96
parent ac280114eead5070af8e6626f1508a0f9b001186
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 23 Apr 2025 11:18:38 +0200
parent ac280114eead5070af8e6626f1508a0f9b001186
Author: Katja (ctucx) <git@ctu.cx>
Date: Wed, 23 Apr 2025 11:18:38 +0200
configurations/nixos/websites/oeffi.katja.wtf: remove `set-cookie` headers
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/configurations/nixos/websites/oeffi.katja.wtf.nix b/configurations/nixos/websites/oeffi.katja.wtf.nix @@ -38,7 +38,7 @@ useACMEHost = "${config.networking.fqdn}"; forceSSL = true; kTLS = true; - root = pkgs.trainsearch; + root = pkgs.oeffisearch; extraConfig = '' merge_slashes off; large_client_header_buffers 4 16k; @@ -48,7 +48,7 @@ proxy_ssl_server_name on; proxy_ssl_name www.bahn.de; proxy_set_header Host www.bahn.de; - proxy_hide_header Cookie; + proxy_hide_header 'set-cookie'; proxy_pass https://www.bahn.de/web/api/reisebegleitung/wagenreihung/vehicle-sequence$is_args$args; ''; @@ -71,7 +71,7 @@ proxy_ssl_server_name on; proxy_ssl_name $vendodomain; proxy_set_header Host $vendodomain; - proxy_hide_header Cookie; + proxy_hide_header 'set-cookie'; proxy_pass https://$vendodomain$vendopath; ''; @@ -83,7 +83,7 @@ proxy_ssl_server_name on; proxy_ssl_name $hafasurl; proxy_set_header Host $hafasurl; - proxy_hide_header Cookie; + proxy_hide_header 'set-cookie'; proxy_pass https://$hafasurl$hafaspath; ''; };