mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2026-09-30 03:31:27 +02:00
Implement configurable timeout for upstream connections
Signed-off-by: Jack Henschel <jack.henschel@cern.ch>
This commit is contained in:
committed by
Joel Speed
parent
27f4bb6a0e
commit
7a27cb04df
@@ -35,6 +35,7 @@ upstreamConfig:
|
||||
flushInterval: 1s
|
||||
passHostHeader: true
|
||||
proxyWebSockets: true
|
||||
timeout: 30s
|
||||
injectRequestHeaders:
|
||||
- name: Authorization
|
||||
values:
|
||||
@@ -118,6 +119,7 @@ redirect_url="http://localhost:4180/oauth2/callback"
|
||||
FlushInterval: durationPtr(options.DefaultUpstreamFlushInterval),
|
||||
PassHostHeader: boolPtr(true),
|
||||
ProxyWebSockets: boolPtr(true),
|
||||
Timeout: durationPtr(options.DefaultUpstreamTimeout),
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user