This commit is contained in:
Stefan Wieczorek
2022-02-14 13:49:12 +01:00
parent 72815ccce0
commit 5731034783

View File

@@ -11,20 +11,11 @@ server {
{{nginx_access_log}} {{nginx_access_log}}
{{nginx_error_log}} {{nginx_error_log}}
#if ($bad_bot = 1) {
# return 403;
#}
if ($scheme != "https") { if ($scheme != "https") {
rewrite ^ https://$host$uri permanent; rewrite ^ https://$host$uri permanent;
} }
location ~ /.well-known { {{settings}}
auth_basic off;
allow all;
}
{{basic_auth}}
try_files $uri $uri/ /index.php?$args =404; try_files $uri $uri/ /index.php?$args =404;
index index.php index.html; index index.php index.html;