From fb8667bfa77f85d6c94cd36c331ec8aecfe914da Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Thu, 21 Jul 2016 13:04:39 -0400 Subject: [PATCH] ansible: add a tmp site config file for nginx on letsencrypt support Signed-off-by: Alfredo Deza --- ansible/roles/nginx/templates/nginx_tmp_site.conf | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ansible/roles/nginx/templates/nginx_tmp_site.conf diff --git a/ansible/roles/nginx/templates/nginx_tmp_site.conf b/ansible/roles/nginx/templates/nginx_tmp_site.conf new file mode 100644 index 00000000..f9e84230 --- /dev/null +++ b/ansible/roles/nginx/templates/nginx_tmp_site.conf @@ -0,0 +1,7 @@ +server { + server_name {{ item.fqdn }}; + location '/.well-known/acme-challenge' { + default_type "text/plain"; + root {{ ssl_webroot_base_path }}/{{ item.fqdn }}; + } +} -- 2.39.5