File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -365,7 +365,9 @@ nginx_http_template:
365
365
locations :
366
366
backend :
367
367
location : /
368
+ proxy_connect_timeout : null
368
369
proxy_pass : http://backend
370
+ proxy_read_timeout : null
369
371
proxy_ssl :
370
372
cert : /etc/ssl/certs/proxy_default.crt
371
373
key : /etc/ssl/private/proxy_default.key
Original file line number Diff line number Diff line change @@ -207,7 +207,9 @@ nginx_http_template:
207
207
locations :
208
208
backend :
209
209
location : /
210
+ proxy_connect_timeout : null
210
211
proxy_pass : http://backend
212
+ proxy_read_timeout : null
211
213
proxy_ssl :
212
214
cert : /etc/ssl/certs/proxy_default.crt
213
215
key : /etc/ssl/private/proxy_default.key
Original file line number Diff line number Diff line change @@ -85,8 +85,14 @@ server {
85
85
{% endif %}
86
86
{% if item .value .reverse_proxy .locations [location ].auth_basic_file is defined and item .value .reverse_proxy .locations [location ].auth_basic_file %}
87
87
auth_basic_user_file {{ item.value.reverse_proxy.locations[location] .auth_basic_file }};
88
+ {% endif %}
89
+ {% if item .value .reverse_proxy .locations [location ].proxy_connect_timeout is defined and item .value .reverse_proxy .locations [location ].proxy_connect_timeout %}
90
+ proxy_connect_timeout {{ item.value.reverse_proxy.locations[location] .proxy_connect_timeout }};
88
91
{% endif %}
89
92
proxy_pass {{ item.value.reverse_proxy.locations[location] .proxy_pass }};
93
+ {% if item .value .reverse_proxy .locations [location ].proxy_read_timeout is defined and item .value .reverse_proxy .locations [location ].proxy_read_timeout %}
94
+ proxy_read_timeout {{ item.value.reverse_proxy.locations[location] .proxy_read_timeout }};
95
+ {% endif %}
90
96
{% if item .value .reverse_proxy .locations [location ].proxy_ssl is defined %}
91
97
92
98
{% if item .value .reverse_proxy .locations [location ].proxy_ssl .cert is defined %}
You can’t perform that action at this time.
0 commit comments