summaryrefslogtreecommitdiff
path: root/data/templates/https
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-04-08 21:41:10 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-04-08 22:10:49 -0500
commitec99423f227fcb879ff9abeca2c49c5b86804044 (patch)
treea3fcde9af3f8e3a75b61056c23817659bb9e464f /data/templates/https
parent6086b7fa718f502563a17569abc81d4ccb94818c (diff)
downloadvyos-1x-ec99423f227fcb879ff9abeca2c49c5b86804044.tar.gz
vyos-1x-ec99423f227fcb879ff9abeca2c49c5b86804044.zip
http api: T2252: increase proxy_read_timeout for image management
Diffstat (limited to 'data/templates/https')
-rw-r--r--data/templates/https/nginx.default.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl
index 33f7b2820..f4f2c1848 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -43,6 +43,7 @@ server {
location ~ /(retrieve|configure|config-file|image|generate|show) {
{% if server.api %}
proxy_pass http://localhost:{{ server.api.port }};
+ proxy_read_timeout 600;
proxy_buffering off;
{% else %}
return 503;