diff --git a/server/conf/nginx_vhost.conf.master b/server/conf/nginx_vhost.conf.master
index 1c219f0cd4654ef88356afd1f67a95d3577baab9..400d9b9af2a00f57463a2b762c7a29d79c80968c 100644
--- a/server/conf/nginx_vhost.conf.master
+++ b/server/conf/nginx_vhost.conf.master
@@ -69,6 +69,16 @@ server {
if ($http_host != "") { rewrite ^(.*)$ $2 ; }
+ ## no proxy for acme-challenge
+ location ^~ /.well-known/acme-challenge/ {
+ access_log off;
+ log_not_found off;
+ root /usr/local/ispconfig/interface/acme/;
+ autoindex off;
+ index index.html;
+ try_files $uri $uri/ =404;
+ }
+
location / {
proxy_pass ;
rewrite ^/(.*) /$1;