From 4a060eecaa15e60e6e886ba9c81546a79829334a Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Wed, 27 Apr 2016 09:03:07 +0200 Subject: [PATCH] Resolved nginx + letsencrypt problem, Fixes: #3845 --- server/conf/nginx_vhost.conf.master | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master index 67f1ee0ed4..f057088ac6 100644 --- a/server/conf/nginx_vhost.conf.master +++ b/server/conf/nginx_vhost.conf.master @@ -263,8 +263,8 @@ server { } </tmpl_if> -location /\.well-known/acme-challenge { - root /usr/local/ispconfig/interface/acme/.well-known/acme-challenge; +location ~ /\.well-known/acme-challenge/ { + root /usr/local/ispconfig/interface/acme/; index index.html index.htm; try_files $uri =404; } @@ -301,8 +301,8 @@ server { server_name <tmpl_var name='rewrite_domain'>; -location /\.well-known/acme-challenge { - root /usr/local/ispconfig/interface/acme-challenge; +location ~ /\.well-known/acme-challenge/ { + root /usr/local/ispconfig/interface/acme/; index index.html index.htm; try_files $uri =404; } -- GitLab