Update whmcs.conf

pull/185/head
midoks 3 years ago
parent 6b5717b04f
commit aad4343a59
  1. 4
      rewrite/nginx/whmcs.conf

@ -1,5 +1,6 @@
location / {
if (!-e $request_filename) {
rewrite ^/contact/$ /./contact.php last;
rewrite ^/status$ /./pages.php?cate=$1&page=status last;
rewrite ^/act$ /./pages.php?cate=$1&page=actindex last;
@ -10,9 +11,6 @@ location / {
rewrite ^/console/(\w+)$ /./clientarea.php?action=services&group=$1 last;
rewrite ^/console/ec/([0-9]+)$ /./clientarea.php?action=productdetails&id=$1 last;
rewrite ^/console/ec/(\w+)$ /./clientarea.php?action=services&group=ec&page=$1 last;
if (!-e $request_filename) {
rewrite ^ /index.php last;
}
}

Loading…
Cancel
Save