File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change 86
86
87
87
// oauth2-proxy
88
88
oauth_enabled: false ,
89
+
90
+ // Nginx proxy_read_timeout (in seconds) 60s is the nginx default
91
+ nginx_proxy_read_timeout: '60' ,
92
+ // Nginx proxy_send_timeout (in seconds) 60s is the nginx default
93
+ nginx_proxy_send_timeout: '60' ,
89
94
},
90
95
}
Original file line number Diff line number Diff line change 9
9
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
10
10
proxy_set_header X-Forwarded-Proto $scheme;
11
11
proxy_set_header X-Forwarded-Host $http_host;
12
- ||| % service + if allowWebsockets then |||
12
+ proxy_read_timeout %(nginx_proxy_read_timeout)s;
13
+ proxy_send_timeout %(nginx_proxy_send_timeout)s;
14
+ ||| % (service + $._config) + if allowWebsockets then |||
13
15
# Allow websocket connections https://www.nginx.com/blog/websocket-nginx/
14
16
proxy_set_header Upgrade $http_upgrade;
15
17
proxy_set_header Connection "Upgrade";
You can’t perform that action at this time.
0 commit comments