From: Alfredo Deza Date: Thu, 21 Jul 2016 17:04:39 +0000 (-0400) Subject: ansible: add a tmp site config file for nginx on letsencrypt support X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=fb8667bfa77f85d6c94cd36c331ec8aecfe914da;p=ceph-build.git ansible: add a tmp site config file for nginx on letsencrypt support Signed-off-by: Alfredo Deza --- 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 }}; + } +}