permanently redirect to https

Started by gajula_vijay, September 17, 2017, 01:31:47 PM

Previous topic - Next topic

gajula_vijay

Is there any possibility to permanently redirect to https.
when I type  http://IP:2030 it should redirect to https://IP:2031

Thanks

24x7servermanagement

You would need to add nginx redirect rules in file /usr/local/cwpsrv/conf/cwpsrv.conf

Google that, it should be simple.
https://www.24x7servermanagement.com/
Server Management, Server Security, Server Monitoring.
India's Leading Managed Service Provider !!

gajula_vijay

Thanks for the reply, I am using Apache not nginx.

studio4host

yes but you need to use nginx rules for ports 2030,2031,2082,2083,2086,2087,2095,2096
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

6Sense

If you use Cloudflare you can redirect all http traffic to https  :)
6Sense - Web Design, Development & Web Hosting