From 0a7e1bdc78dce6aa48f06340d6258924f3c7de11 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Tue, 9 Aug 2022 15:00:22 +0200 Subject: [PATCH] Update to 2022-08-09 15:00 --- roles/consul/templates/consul.hcl.j2 | 7 +++++++ roles/nginx/templates/nginx.conf.j2 | 2 ++ 2 files changed, 9 insertions(+) diff --git a/roles/consul/templates/consul.hcl.j2 b/roles/consul/templates/consul.hcl.j2 index 05c0d56..96d854e 100644 --- a/roles/consul/templates/consul.hcl.j2 +++ b/roles/consul/templates/consul.hcl.j2 @@ -51,6 +51,13 @@ recursors = [ {% endfor %} ] +{% if consul_conf.domain is defined %} +domain = "{{ consul_conf.domain }}" +{% if consul_conf.alt_domain is defined %} +alt_domain = "{{ consul_conf.alt_domain }}" +{% endif %} +{% endif %} + telemetry { prometheus_retention_time = "{{ consul_conf.telemetry.prometheus_retention_time }}" } diff --git a/roles/nginx/templates/nginx.conf.j2 b/roles/nginx/templates/nginx.conf.j2 index 67f708c..c1aa9c4 100644 --- a/roles/nginx/templates/nginx.conf.j2 +++ b/roles/nginx/templates/nginx.conf.j2 @@ -15,6 +15,8 @@ events { http { + server_names_hash_max_size 1024; + {% if nginx_openresty %} # Set nginx compatible paths for openresty client_body_temp_path /var/lib/nginx/tmp/client_body;