whmcs.conf 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. location ~ /announcements/?(.*)$ {
  2. rewrite ^/(.*)$ /index.php?rp=/announcements/$1;
  3. }
  4. location ~ /download/?(.*)$ {
  5. rewrite ^/(.*)$ /index.php?rp=/download$1;
  6. }
  7. location ~ /knowledgebase/?(.*)$ {
  8. rewrite ^/(.*)$ /index.php?rp=/knowledgebase/$1;
  9. }
  10. location ~ /store/ssl-certificates/?(.*)$ {
  11. rewrite ^/(.*)$ /index.php?rp=/store/ssl-certificates/$1;
  12. }
  13. location ~ /store/sitelock/?(.*)$ {
  14. rewrite ^/(.*)$ /index.php?rp=/store/sitelock/$1;
  15. }
  16. location ~ /store/website-builder/?(.*)$ {
  17. rewrite ^/(.*)$ /index.php?rp=/store/website-builder/$1;
  18. }
  19. location ~ /store/order/?(.*)$ {
  20. rewrite ^/(.*)$ /index.php?rp=/store/order/$1;
  21. }
  22. location ~ /cart/domain/renew/?(.*)$ {
  23. rewrite ^/(.*)$ /index.php?rp=/cart/domain/renew$1;
  24. }
  25. location ~ /account/paymentmethods/?(.*)$ {
  26. rewrite ^/(.*)$ /index.php?rp=/account/paymentmethods$1;
  27. }
  28. location ~ /admin/(addons|apps|domains|help\/license|services|setup|utilities\/system\/php-compat)(.*) {
  29. rewrite ^/(.*)$ /admin/index.php?rp=/admin/$1$2 last;
  30. }