Control Web Panel

WebPanel => Installation => Topic started by: gajula_vijay on September 17, 2017, 01:31:47 PM

Title: permanently redirect to https
Post by: gajula_vijay 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
 
Title: Re: permanently redirect to https
Post by: 24x7servermanagement 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.
Title: Re: permanently redirect to https
Post by: gajula_vijay on September 18, 2017, 10:52:25 AM
Thanks for the reply, I am using Apache not nginx.
Title: Re: permanently redirect to https
Post by: studio4host 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
Title: Re: permanently redirect to https
Post by: 6Sense on September 21, 2017, 01:35:42 PM
If you use Cloudflare you can redirect all http traffic to https  :)