mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
@@ -20,6 +20,8 @@ server {
|
|||||||
auth_basic off;
|
auth_basic off;
|
||||||
allow all;
|
allow all;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
rewrite ^/core/authorize.php/core/authorize.php(.*)$ /core/authorize.php$1;
|
||||||
|
|
||||||
location ~ (^|/)\. {
|
location ~ (^|/)\. {
|
||||||
return 403;
|
return 403;
|
||||||
@@ -85,4 +87,4 @@ server {
|
|||||||
if (-f $request_filename) {
|
if (-f $request_filename) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user