diff --git a/docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf b/docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf index 93ad90f1..a992f315 100644 --- a/docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf +++ b/docker/rootfs/etc/nginx/conf.d/include/force-ssl.conf @@ -5,7 +5,7 @@ set $FORCE ""; if ($scheme = "http") { set $FORCE 'H'; } -if ($request_uri !~ "^\/.well-known\/acme-challenge\/(.*)") { +if ($request_uri !~ "^\/\.well-known\/acme-challenge\/(.*)") { set $FORCE "${FORCE}D"; } # If we are http and outside the LetsEncrypt directories redirect to https via 301