From c9b5ed4f09b73c7a9008ca9736ce4fd85a9ebdbc Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Mon, 18 Jan 2016 14:42:51 +0100
Subject: [PATCH] - allow letsencrypt call to challenge dir

---
 server/conf/nginx_vhost.conf.master | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index 807eeb1742..97862c5b5a 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -112,7 +112,7 @@ server {
         access_log /var/log/ispconfig/httpd/<tmpl_var name='domain'>/access.log combined;
 
         ## Disable .htaccess and other hidden files
-        location ~ /\. {
+        location ~ /\.(?!well-known/acme-challenge/) {
             deny all;
             access_log off;
             log_not_found off;
-- 
GitLab