diff --git a/docker/nginx/nginx.conf b/docker/nginx/nginx.conf index cfbc82c..087a8ed 100644 --- a/docker/nginx/nginx.conf +++ b/docker/nginx/nginx.conf @@ -88,4 +88,13 @@ server { location = /template.php { deny all; } + + # make .well-known directory accessible + location ~ /.well-known { + allow all; + + # serve all files in the .well-known directory + # directly without passing the request to the backend + try_files $uri =404; + } }