service urls carry no gateway port, httpsPort is listen-only
This commit is contained in:
parent
4d9b7e0ca9
commit
19680a8b78
1 changed files with 105 additions and 143 deletions
|
|
@ -149,9 +149,6 @@ let
|
|||
# The client secret is fetched on the host, under the responder's store
|
||||
# identity, and bound in read-only: the container cannot reach the store.
|
||||
forwarderClientId = cfg.otel.clientId;
|
||||
gatewayPortSuffix = lib.optionalString (
|
||||
gatewayCfg.httpsPort != 443
|
||||
) ":${toString gatewayCfg.httpsPort}";
|
||||
otelDomain = hyperhiveCfg.swarm.otel.domain;
|
||||
autheliaDomain = hyperhiveCfg.swarm.authelia.domain;
|
||||
|
||||
|
|
@ -177,7 +174,7 @@ let
|
|||
}
|
||||
|
||||
location ^~ /${cfg.machine}/ {
|
||||
proxy_pass https://${otelDomain}${gatewayPortSuffix};
|
||||
proxy_pass https://${otelDomain};
|
||||
${gatewayCfg.lib.verifiedProxyTo otelDomain}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue