add proxy_intercept_errors parameter
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
02c8e0a745
commit
d48a80aaf6
@ -138,6 +138,7 @@ nginx_vhosts_default:
|
|||||||
# proxy_read_timeout: 3600s
|
# proxy_read_timeout: 3600s
|
||||||
# proxy_send_timeout: 3600s
|
# proxy_send_timeout: 3600s
|
||||||
# proxy_headers: []
|
# proxy_headers: []
|
||||||
|
# proxy_intercept_errors: "off"
|
||||||
# custom_options:
|
# custom_options:
|
||||||
# - 'deny: all'
|
# - 'deny: all'
|
||||||
# error_page: /usr/share/nginx/html
|
# error_page: /usr/share/nginx/html
|
||||||
|
@ -63,6 +63,9 @@ server {
|
|||||||
{% if location.proxy_send_timeout is defined and location.proxy_send_timeout %}
|
{% if location.proxy_send_timeout is defined and location.proxy_send_timeout %}
|
||||||
proxy_send_timeout {{ location.proxy_send_timeout }};
|
proxy_send_timeout {{ location.proxy_send_timeout }};
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
{% if location.proxy_intercept_errors is defined and location.proxy_intercept_errors %}
|
||||||
|
proxy_intercept_errors {{ location.proxy_intercept_errors }};
|
||||||
|
{% endif %}
|
||||||
{% if location.proxy_headers is defined and location.proxy_headers %}
|
{% if location.proxy_headers is defined and location.proxy_headers %}
|
||||||
|
|
||||||
{% for pheader in location.proxy_headers %}
|
{% for pheader in location.proxy_headers %}
|
||||||
|
Loading…
Reference in New Issue
Block a user