artetatu Posted February 9, 2016 Share Posted February 9, 2016 I am running whmcs billing system using NGINX, my whmcs location is in mydomain.com/whmcs/ I want to redirect all request to my site to HTTPS www except whmcs folder (whmcs has its HTTPS redirection) Some whmcs pages is redirected to HTTP by whmcs itself (knowledge, announcements page) and else in HTTPS if i don't "except whmcs folder" on my rule, it will give error loopping on some whmcs pages (knowledge, announcements ) 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted February 9, 2016 Share Posted February 9, 2016 check those: http://stackoverflow.com/questions/32697914/nginx-redirect-all-to-https-except-one-directory http://stackoverflow.com/questions/27857334/nginx-redirect-everything-from-http-to-https-except-one-url-pattern 0 Quote Link to comment Share on other sites More sharing options...
artetatu Posted February 9, 2016 Author Share Posted February 9, 2016 check those: http://stackoverflow.com/questions/32697914/nginx-redirect-all-to-https-except-one-directory http://stackoverflow.com/questions/27857334/nginx-redirect-everything-from-http-to-https-except-one-url-pattern thats don't work for whmcs,, my whmcs is using https too..but some pages (knowledge, announclemts etc) are redirected to http by whmcs so if i redirected all pages too HTTPS, some pages (knowledge, announclemts etc) will show redirect looping error (redirected to https but redirected again to http by whmcs engine) 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.