fix borked forge
This commit is contained in:
parent
95a556e280
commit
0a9bfe2b9b
1 changed files with 2 additions and 2 deletions
|
|
@ -581,7 +581,7 @@ in
|
||||||
# `proxy_read_timeout 1h` (multi-GB clones). SSH stays direct on
|
# `proxy_read_timeout 1h` (multi-GB clones). SSH stays direct on
|
||||||
# `forge.sshPort`. See `docs/gateway.md`. Empty attrset when the
|
# `forge.sshPort`. See `docs/gateway.md`. Empty attrset when the
|
||||||
# forge isn't behind the gateway.
|
# forge isn't behind the gateway.
|
||||||
forgeVhost = lib.optionalAttrs (forgeCfg.enable or false && forgeCfg.behindGateway or false) {
|
forgeVhost = lib.optionalAttrs (forgeCfg.behindGateway or false) {
|
||||||
"${forgeCfg.domain}" = vhostTls // {
|
"${forgeCfg.domain}" = vhostTls // {
|
||||||
listen = vhostListen;
|
listen = vhostListen;
|
||||||
extraConfig = securityHeaders;
|
extraConfig = securityHeaders;
|
||||||
|
|
@ -993,7 +993,7 @@ in
|
||||||
"/${hyperhiveDomain}/${networkCfg.bridgeIp}"
|
"/${hyperhiveDomain}/${networkCfg.bridgeIp}"
|
||||||
]
|
]
|
||||||
++ lib.optional (
|
++ lib.optional (
|
||||||
(forgeCfg.enable or false) && (forgeCfg.behindGateway or false)
|
(forgeCfg.behindGateway or false)
|
||||||
) "/${forgeCfg.domain}/${networkCfg.bridgeIp}"
|
) "/${forgeCfg.domain}/${networkCfg.bridgeIp}"
|
||||||
++ lib.optional (
|
++ lib.optional (
|
||||||
matrixCfg.enable && matrixCfg.gatewayHost != null
|
matrixCfg.enable && matrixCfg.gatewayHost != null
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue