mirror of
https://github.com/cloudpanel-io/vhost-templates.git
synced 2026-05-18 08:23:31 +08:00
.
This commit is contained in:
@@ -30,6 +30,7 @@ server {
|
|||||||
error_page 404 /index.php?$query_string;
|
error_page 404 /index.php?$query_string;
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
try_files $uri $uri/ /index.php?$query_string;
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ /admin/(client!\.php|search|apps|billing|setup|user|services|addons|domains|utilities|help!\.php|help/license|image/(recent|upload))/?(.*)$ {
|
location ~ /admin/(client!\.php|search|apps|billing|setup|user|services|addons|domains|utilities|help!\.php|help/license|image/(recent|upload))/?(.*)$ {
|
||||||
rewrite ^/(.*)$ /admin/index.php?rp=/admin/$1/$2;
|
rewrite ^/(.*)$ /admin/index.php?rp=/admin/$1/$2;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user