Back to main page

May 24 2024 12:14PM
Site: GridPlay

Nginx to Caddy

Hey all just wanted to let you all know i did a switch on the server for all of our websites.
Switched programs that serves the websites from Nginx to Caddy.

Why?
Nginx kept crashing and/or timing out and couldnt figure out why. This morning i woke up and noticed all the sites were down.
Restarted nginx and they were back up.
This kept happening ALOT when we were with Digital Ocean, i thought it was DO couldnt handle the load, now i realize it was Nginx.
“But couldnt you just google the problem?”
I did multiple times, applied suggested fixes, clearly it didnt fix the issue so only logical choice was to try a new program.

With the help of ChatGPT i was able to do the switch seemlessly ish. Was abit of a derp when i booted up Caddy but that was my boo boo.
If it wasnt for the boo boo in the config i did the switch would of never been noticed.

Im doing this blog to let you all know because i believe in transparency. You guys support GridPlay so you have a right to know what i do behind the scenes.

Now im still testing Caddy out, didnt uninstall nginx yet. I want to see if this was a good decision so any issues PLEASE let me know, im ALWAYS on discord.
Error logs still go to a discord channel that only I have access to (and sweetdebbie but she doesnt look) so any 500 errors i will know immediately.
Sadly the timeouts dont log to discord so i didnt know till i went to the wow site this morning.

Aparently Caddy also handles the HTTPS secure stuff with LetsEncrypt which generates the certificates for all the sites to be HTTPS. So i dont have to manually renew the certs.

Anyways just wanted to let you all know :) Cheers.