[deploy] Proxy socket: the option says X-Forwarded-Proto is always https there (HTTPS fronts only)

This commit is contained in:
2026-11-22 19:05:25 +01:00
parent d058a72ed2
commit 3ca88e26cc
+2 -1
View File
@@ -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 = [ ];