Author Topic: Need nginx conf that allows redirect excluding the required let's encrypt folder  (Read 3701 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
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.

Offline
*
default template in nginx of cwp should have location exclude for autossl, like example force-https template
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
*
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