Migration from Litespeed to Ngninx = 502 Bad Gateway nginx

I'm wondering if it would be best to set up centminmod ahead of time with everything I want EXCEPT for the vhost.
Then, after I switch over DNS, I would setup the vhost at that time and let it do it's thing with letsencrypt.

Do you know if that's all handled by the centmin script automatically?
I guess I need to read that thread you linked. It's around seven years old, which worries me and why I haven't read it already.
But it should get me in the ballpark.
I don't know your previous configuration, so I'm not exactly sure about the right steps. However, I read more about this and it looks like you can just copy the existing configuration of Let's Encrypt from the old server to the new one. I'm just not 100% sure how to invoke the automated part of centminmoid for let's encrypt once you move it over with acmetool. (I assume you're using cert bot now?)

The centminmod instructions are still relatively up to date and if you really want further confirmation, you can ask in their forums. @eva2000 is usually on top of things over there and he's the one best to answer scenarios like this.
 
If you use Cloudflare you can just use their origin server certificate in nginx. I have one that expires in 2038. This way you do not have to worry about whether the renewals every three months work out etc.
 
Not everyone needs or wants cloudflare. (y)
Cdn is very in important in today's Web apps.
I do not know why someone wouldn't need it if their program fully support it.
The benefits of cloudflare are just too good to overlook.

Also, why did you move from litespeed to ngix? Litespeed & their cache performs better Nginx/varnish etc.
 
Back
Top Bottom