[deploy] Proxy socket: the option says X-Forwarded-Proto is always https there (HTTPS fronts only)
This commit is contained in:
@@ -163,7 +163,8 @@ in
|
|||||||
a Unix socket (${proxySocket}, 0660, group ianitor-proxy) on which edge (or the Caddy
|
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,
|
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
|
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 {
|
users = mkOption {
|
||||||
type = types.listOf types.str;
|
type = types.listOf types.str;
|
||||||
default = [ ];
|
default = [ ];
|
||||||
|
|||||||
Reference in New Issue
Block a user