diff options
author | stuebinm | 2025-08-27 22:51:13 +0200 |
---|---|---|
committer | stuebinm | 2025-08-27 22:51:13 +0200 |
commit | 2eb47c49cc4c5d5b028a8e48f14d6f9ef58bf913 (patch) | |
tree | 34ff6b3d43525def2c48d6b51099bea52bcc3ae9 | |
parent | 4ea1b5abba366b0f54439026cfc8a4ca949bfc29 (diff) |
bahnhof.name: fix header forwarding
-rw-r--r-- | chaski/services/bahnhof-name.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chaski/services/bahnhof-name.nix b/chaski/services/bahnhof-name.nix index 93338d1..69d54cc 100644 --- a/chaski/services/bahnhof-name.nix +++ b/chaski/services/bahnhof-name.nix @@ -19,6 +19,9 @@ enableACME = true; forceSSL = true; locations."/".proxyPass = "http://localhost:8080"; + extraConfig = '' + proxy_set_header X-Forwarded-Host $host; + ''; }; in builtins.listToAttrs (map (name: { inherit name; value = vhost; }) ["bahnhof.name" "ril100.bahnhof.name" |