aboutsummaryrefslogtreecommitdiff
path: root/hosts/enode/caddy.nix
diff options
context:
space:
mode:
authorIsabella Bastaja <isabella@sorre.xyz>2026-09-07 20:18:25 +0200
committerIsabella Bastaja <isabella@sorre.xyz>2026-09-07 23:03:42 +0200
commit94658464249d75229d0fd4eee19479ac7df3cc96 (patch)
treecca11596d048449a784a974032714c801aff73ca /hosts/enode/caddy.nix
parent4f0ad03862bc618c91d7fc7eb4913bec38acb2cc (diff)
enode: continue nixos migration
Diffstat (limited to 'hosts/enode/caddy.nix')
-rw-r--r--hosts/enode/caddy.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/hosts/enode/caddy.nix b/hosts/enode/caddy.nix
index bc3b745..4e3cedd 100644
--- a/hosts/enode/caddy.nix
+++ b/hosts/enode/caddy.nix
@@ -14,7 +14,7 @@ let
simpleProxyVirtualHosts = builtins.mapAttrs (domain: upstream: {
extraConfig = ''
reverse_proxy ${upstream} {
- headers_up True-Client-IP {remote_host}
+ header_up True-Client-IP {remote_host}
header_up X-Real-IP {remote_host}
}
'';
@@ -35,7 +35,7 @@ in
'';
"headscale.sorre.xyz".extraConfig = ''
reverse_proxy ${headscale.domain}:${toString headscale.port} {
- headers_up True-Client-IP {remote_host}
+ header_up True-Client-IP {remote_host}
header_up X-Real-IP {remote_host}
}
'';