From 04f49be1d3d8a35f1faefd9d24b295ff51929e86 Mon Sep 17 00:00:00 2001 From: Stefan Wieczorek Date: Wed, 24 Aug 2022 13:48:12 +0200 Subject: [PATCH] . --- v2/WHMCS/WHMCS | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/v2/WHMCS/WHMCS b/v2/WHMCS/WHMCS index 9139961..357a3f6 100644 --- a/v2/WHMCS/WHMCS +++ b/v2/WHMCS/WHMCS @@ -30,13 +30,14 @@ server { error_page 404 /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; - } + } ## WHMCS Security Advisory 2020-01-28 (https://docs.whmcs.com/Security_Advisory_2020-01-28) location ^~ /vendor/ {