Add rule .well-know to allow letsencrypt challenge
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Eric Morino 2021-11-26 16:37:00 +01:00
parent 7e36d03804
commit cd7c488713
1 changed files with 1 additions and 0 deletions

View File

@ -46,6 +46,7 @@ server {
location = /.well-known/caldav { return 301 /remote.php/dav/; }
# Anything else is dynamically handled by Nextcloud
location ^~ /.well-known { return 301 /index.php$uri; }
location ~ ^/.well-known/acme-challenge/* { allow all; }
try_files $uri $uri/ =404;
}