Browse Source

Remove custom directory

Connection Refused 5 years ago
parent
commit
cdd3b629c0
1 changed files with 20 additions and 20 deletions
  1. 20 20
      config/whmcs.conf

+ 20 - 20
config/whmcs.conf

@@ -1,39 +1,39 @@
-location ~ /billing/announcements/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/announcements/$1;
+location ~ /announcements/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/announcements/$1;
 }
 
-location ~ /billing/download/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/download$1;
+location ~ /download/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/download$1;
 }
 
-location ~ /billing/knowledgebase/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/knowledgebase/$1;
+location ~ /knowledgebase/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/knowledgebase/$1;
 }
 
-location ~ /billing/store/ssl-certificates/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/store/ssl-certificates/$1;
+location ~ /store/ssl-certificates/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/store/ssl-certificates/$1;
 }
 
-location ~ /billing/store/sitelock/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/store/sitelock/$1;
+location ~ /store/sitelock/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/store/sitelock/$1;
 }
 
-location ~ /billing/store/website-builder/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/store/website-builder/$1;
+location ~ /store/website-builder/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/store/website-builder/$1;
 }
 
-location ~ /billing/store/order/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/store/order/$1;
+location ~ /store/order/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/store/order/$1;
 }
 
-location ~ /billing/cart/domain/renew/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/cart/domain/renew$1;
+location ~ /cart/domain/renew/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/cart/domain/renew$1;
 }
 
-location ~ /billing/account/paymentmethods/?(.*)$ {
-	rewrite ^/(.*)$ /billing/index.php?rp=/account/paymentmethods$1;
+location ~ /account/paymentmethods/?(.*)$ {
+	rewrite ^/(.*)$ /index.php?rp=/account/paymentmethods$1;
 }
 
-location ~ /billing/admin/(addons|apps|domains|help\/license|services|setup|utilities\/system\/php-compat)(.*) {
-	rewrite ^/(.*)$ /billing/admin/index.php?rp=/admin/$1$2 last; 
+location ~ /admin/(addons|apps|domains|help\/license|services|setup|utilities\/system\/php-compat)(.*) {
+	rewrite ^/(.*)$ /admin/index.php?rp=/admin/$1$2 last; 
 }