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,13 +30,14 @@ 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))/?(.*)$ {
|
|
||||||
rewrite ^/(.*)$ /admin/index.php?rp=/admin/$1/$2;
|
|
||||||
}
|
|
||||||
|
|
||||||
location ~ /(login|password|account|store|download|knowledgebase|announcements|clientarea/ssl-certificates|user/(profile|password|security)|cart/(domain/renew)|images/kb)/?(.*)$ {
|
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;
|
||||||
|
}
|
||||||
|
|
||||||
|
location ~ /(login|password|account|store|download|knowledgebase|announcements|clientarea/ssl-certificates|user/(profile|password|security)|cart/(domain/renew)|images/kb)/?(.*)$ {
|
||||||
rewrite ^/(.*)$ /index.php?rp=/$1/$2;
|
rewrite ^/(.*)$ /index.php?rp=/$1/$2;
|
||||||
}
|
}
|
||||||
|
|
||||||
## WHMCS Security Advisory 2020-01-28 (https://docs.whmcs.com/Security_Advisory_2020-01-28)
|
## WHMCS Security Advisory 2020-01-28 (https://docs.whmcs.com/Security_Advisory_2020-01-28)
|
||||||
location ^~ /vendor/ {
|
location ^~ /vendor/ {
|
||||||
|
|||||||
Reference in New Issue
Block a user