mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-03 03:12:50 +02:00
config: generate cookie secret if not set in all-in-one mode (#3742)
* config: generate cookie secret if not set in all-in-one mode * fix tests * config: add warning about cookie_secret * breakup lines
This commit is contained in:
parent
2c9087f5e7
commit
9413123c0f
8 changed files with 111 additions and 17 deletions
|
@ -100,7 +100,7 @@ func getUpstreamProtocolForPolicy(ctx context.Context, policy *config.Policy) up
|
|||
upstreamProtocol := upstreamProtocolAuto
|
||||
if policy.AllowWebsockets {
|
||||
// #2388, force http/1 when using web sockets
|
||||
log.Info(ctx).Msg("envoyconfig: forcing http/1.1 due to web socket support")
|
||||
log.WarnWebSocketHTTP1_1(getClusterID(policy))
|
||||
upstreamProtocol = upstreamProtocolHTTP1
|
||||
}
|
||||
return upstreamProtocol
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue