summaryrefslogtreecommitdiff
path: root/src/conf_mode/https.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-04-08 23:03:00 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-04-08 23:05:52 -0500
commitc4a389a2c0b99fba3f9fe43e1c9f4b423e304d53 (patch)
tree22475c4696dfc863465a72fa9ec23d84ba3f7525 /src/conf_mode/https.py
parent2490b60c2772c58e2c92f0d453565619ea2d9b7d (diff)
downloadvyos-1x-c4a389a2c0b99fba3f9fe43e1c9f4b423e304d53.tar.gz
vyos-1x-c4a389a2c0b99fba3f9fe43e1c9f4b423e304d53.zip
http api: T2252: backport increase proxy_read_timeout
Diffstat (limited to 'src/conf_mode/https.py')
-rwxr-xr-xsrc/conf_mode/https.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/conf_mode/https.py b/src/conf_mode/https.py
index fbd351e45..078c2d5f5 100755
--- a/src/conf_mode/https.py
+++ b/src/conf_mode/https.py
@@ -70,6 +70,7 @@ server {
location ~ /(retrieve|configure|config-file|image) {
{% if server.api %}
proxy_pass http://localhost:{{ server.api.port }};
+ proxy_read_timeout 600;
proxy_buffering off;
{% else %}
return 503;