mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
.
This commit is contained in:
@@ -26,6 +26,14 @@ server {
|
|||||||
|
|
||||||
{{basic_auth}}
|
{{basic_auth}}
|
||||||
|
|
||||||
|
location ~ ^/(config|tmp|core|lang) {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ /.ht {
|
||||||
|
return 403;
|
||||||
|
}
|
||||||
|
|
||||||
try_files $uri $uri/ /index.php?$args;
|
try_files $uri $uri/ /index.php?$args;
|
||||||
index index.php index.html;
|
index index.php index.html;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user