mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
.
This commit is contained in:
@@ -11,20 +11,11 @@ server {
|
||||
{{nginx_access_log}}
|
||||
{{nginx_error_log}}
|
||||
|
||||
#if ($bad_bot = 1) {
|
||||
# return 403;
|
||||
#}
|
||||
|
||||
if ($scheme != "https") {
|
||||
rewrite ^ https://$host$uri permanent;
|
||||
}
|
||||
|
||||
location ~ /.well-known {
|
||||
auth_basic off;
|
||||
allow all;
|
||||
}
|
||||
|
||||
{{basic_auth}}
|
||||
{{settings}}
|
||||
|
||||
try_files $uri $uri/ /index.php?$args =404;
|
||||
index index.php index.html;
|
||||
|
||||
Reference in New Issue
Block a user