Control Web Panel

WebPanel => SSL => Topic started by: wshosted on December 09, 2020, 01:43:15 AM

Title: Need nginx conf that allows redirect excluding the required let's encrypt folder
Post by: wshosted on December 09, 2020, 01:43:15 AM
I am looking for the correct way to do a nginx conf that does a https redirect while also excluding the folders that AutoSSL requires to reach via http. Currently using standard CWP nginx conf setup, when I add the https return then I believe the Let's Encrypt renewal process fails.
Title: Re: Need nginx conf that allows redirect excluding the required let's encrypt folder
Post by: studio4host on December 09, 2020, 06:44:49 AM
default template in nginx of cwp should have location exclude for autossl, like example force-https template
Title: Re: Need nginx conf that allows redirect excluding the required let's encrypt folder
Post by: wshosted on December 09, 2020, 03:27:37 PM
Thanks so much.

For other newbies like me, there is a GUI method for swapping templates under Webserver Settings -> Webservers Main Conf -> Nginx default vhost template