Skip to content

Commit 4a060ee

Browse files
author
Marius Burkard
committed
Resolved nginx + letsencrypt problem, Fixes: #3845
1 parent 6c189db commit 4a060ee

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/conf/nginx_vhost.conf.master

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -263,8 +263,8 @@ server {
263263
}
264264
</tmpl_if>
265265

266-
location /\.well-known/acme-challenge {
267-
root /usr/local/ispconfig/interface/acme/.well-known/acme-challenge;
266+
location ~ /\.well-known/acme-challenge/ {
267+
root /usr/local/ispconfig/interface/acme/;
268268
index index.html index.htm;
269269
try_files $uri =404;
270270
}
@@ -301,8 +301,8 @@ server {
301301

302302
server_name <tmpl_var name='rewrite_domain'>;
303303

304-
location /\.well-known/acme-challenge {
305-
root /usr/local/ispconfig/interface/acme-challenge;
304+
location ~ /\.well-known/acme-challenge/ {
305+
root /usr/local/ispconfig/interface/acme/;
306306
index index.html index.htm;
307307
try_files $uri =404;
308308
}

0 commit comments

Comments
 (0)