Author Topic: permanently redirect to https  (Read 10729 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
permanently redirect to https
« on: September 17, 2017, 01:31:47 PM »
Is there any possibility to permanently redirect to https.
when I type  http://IP:2030 it should redirect to https://IP:2031

Thanks
 

Offline
**
Re: permanently redirect to https
« Reply #1 on: September 18, 2017, 07:49:14 AM »
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 !!

Offline
*
Re: permanently redirect to https
« Reply #2 on: September 18, 2017, 10:52:25 AM »
Thanks for the reply, I am using Apache not nginx.

Offline
*
Re: permanently redirect to https
« Reply #3 on: September 21, 2017, 12:36:40 PM »
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.

Offline
*
Re: permanently redirect to https
« Reply #4 on: September 21, 2017, 01:35:42 PM »
If you use Cloudflare you can redirect all http traffic to https  :)
Web Design, Development & Web Hosting
https://6sense.com.au