Move block
This commit is contained in:
@@ -56,6 +56,15 @@ server {
|
||||
root /app/public;
|
||||
index index.php;
|
||||
|
||||
# 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;
|
||||
}
|
||||
|
||||
location / {
|
||||
try_files $uri $uri.php $uri/ /index.php$is_args$args;
|
||||
}
|
||||
@@ -88,13 +97,4 @@ 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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user