this post was submitted on 16 Jun 2023
17 points (100.0% liked)

Programming

13226 readers
1 users here now

All things programming and coding related. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 1 year ago
MODERATORS
 

I've recently been wondering if Lemmy should switch out NGINX for Caddy, while I hadn't had experience with Caddy it looks like a great & fast alternative, What do you all think?

EDIT: I meant beehaw not Lemmy as a whole

you are viewing a single comment's thread
view the rest of the comments
[–] BitOneZero@beehaw.org 5 points 1 year ago (2 children)

One more thing I forgot to mention. The nginx 500 errors people are getting on multiple Lemmy sites could improve shortly with the release of 0.18 that stops using websockets. Right now Lemmy webapp is passing those through nginx for every web browser client.

[–] CinnamonTheCat@beehaw.org 2 points 1 year ago

From what I've read, the 500 errors are caused by nginx's failure mode of

"Fuck it, I'm dropping this connection"

Caddy seems to want to keep connections going even if it has to slow down.