From 3ca88e26ccdb6513aa687659942e7046d4265bcb Mon Sep 17 00:00:00 2001 From: mnovak Date: Sun, 22 Nov 2026 19:05:25 +0100 Subject: [PATCH] [deploy] Proxy socket: the option says X-Forwarded-Proto is always https there (HTTPS fronts only) --- deploy/nixos/module.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/deploy/nixos/module.nix b/deploy/nixos/module.nix index 12af0fb..c892805 100644 --- a/deploy/nixos/module.nix +++ b/deploy/nixos/module.nix @@ -163,7 +163,8 @@ in a Unix socket (${proxySocket}, 0660, group ianitor-proxy) on which edge (or the Caddy fallback) serves the HTTPS hosts in plain HTTP to a front proxy that terminated TLS, such as Caddy beside Ianitor. Only that group can connect, so its X-Forwarded-For is - believed; no loopback TCP port is involved''; + believed; no loopback TCP port is involved. Edge sends X-Forwarded-Proto: https for every + request on it, so it is for a front proxy that serves HTTPS only''; users = mkOption { type = types.listOf types.str; default = [ ];