Add rule .well-know to allow letsencrypt challenge
continuous-integration/drone/push Build is failing
Details
continuous-integration/drone/push Build is failing
Details
This commit is contained in:
parent
7e36d03804
commit
cd7c488713
|
@ -46,6 +46,7 @@ server {
|
||||||
location = /.well-known/caldav { return 301 /remote.php/dav/; }
|
location = /.well-known/caldav { return 301 /remote.php/dav/; }
|
||||||
# Anything else is dynamically handled by Nextcloud
|
# Anything else is dynamically handled by Nextcloud
|
||||||
location ^~ /.well-known { return 301 /index.php$uri; }
|
location ^~ /.well-known { return 301 /index.php$uri; }
|
||||||
|
location ~ ^/.well-known/acme-challenge/* { allow all; }
|
||||||
|
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue