add missing server options
This commit is contained in:
parent
9558f2b478
commit
388f69d2e7
@ -32,6 +32,9 @@ server {
|
||||
{% if server.client_max_body_size is defined and server.client_max_body_size %}
|
||||
client_max_body_size {{ server.client_max_body_size }};
|
||||
{% endif %}
|
||||
{% if server.send_timeout is defined and server.send_timeout %}
|
||||
send_timeout {{ server.send_timeout }};
|
||||
{% endif %}
|
||||
|
||||
{% for location in server.locations %}
|
||||
location {{ location.match }} {
|
||||
@ -47,6 +50,18 @@ server {
|
||||
{% if location.proxy_http_version is defined and location.proxy_http_version %}
|
||||
proxy_http_version {{ location.proxy_http_version }};
|
||||
{% endif %}
|
||||
{% if location.proxy_buffering is defined and location.proxy_buffering %}
|
||||
proxy_buffering {{ location.proxy_buffering }};
|
||||
{% endif %}
|
||||
{% if location.proxy_connect_timeout is defined and location.proxy_connect_timeout %}
|
||||
proxy_connect_timeout {{ location.proxy_connect_timeout }};
|
||||
{% endif %}
|
||||
{% if location.proxy_read_timeout is defined and location.proxy_read_timeout %}
|
||||
proxy_read_timeout {{ location.proxy_read_timeout }};
|
||||
{% endif %}
|
||||
{% if location.proxy_send_timeout is defined and location.proxy_send_timeout %}
|
||||
proxy_send_timeout {{ location.proxy_send_timeout }};
|
||||
{% endif %}
|
||||
{% if location.proxy_headers is defined and location.proxy_headers %}
|
||||
|
||||
{% for pheader in location.proxy_headers %}
|
||||
|
Loading…
Reference in New Issue
Block a user