add resolver to nginx
This commit is contained in:
parent
1b3d1e6d29
commit
5ce506eb3d
@ -31,7 +31,7 @@ nginx_keepalive_timeout: "65"
|
||||
nginx_keepalive_requests: "100"
|
||||
|
||||
nginx_server_tokens: "on"
|
||||
|
||||
nginx_server_resolver: ""
|
||||
nginx_client_max_body_size: "64m"
|
||||
|
||||
nginx_server_names_hash_bucket_size: "64"
|
||||
|
@ -53,7 +53,9 @@ http {
|
||||
{% if nginx_extra_http_options %}
|
||||
{{ nginx_extra_http_options|indent(4, False) }}
|
||||
{% endif %}
|
||||
|
||||
{%if nginx_server_resolver %}
|
||||
resolver {{nginx_server_resolver}};
|
||||
{% endif %}
|
||||
{% block http_upstream %}
|
||||
{% for upstream in nginx_upstreams %}
|
||||
upstream {{ upstream.name }} {
|
||||
|
Loading…
Reference in New Issue
Block a user