Hacker News new | ask | show | jobs
by throw0101c 21 days ago
> I thought it's mostly nginx or other solutions at this point.

What advantage(s) does nginx have over Apache?

Back in the day (Apache 2.0) there was certainly a performance with nginx being event-driver, but with Apache 2.4 and mpm_event, does that still apply?

* https://httpd.apache.org/docs/2.4/mod/event.html

2 comments

nginx is easier to configure.
Probably depends on what one you learned first. I learned Apache first, around 1995 - 96. Nginx felt "weird" to me, though I do prefer it now.
Hard disagree, for me Apache's rule sets which look a bit like XML but predate XML by several years, are easier to read, understand and maintain.
definitely not for me. Think I had a dozen tutorial examples open for simply configuring nginx to server matrix chat to the web, ended up in crazy nginx docs, things not working properly.

Copy and pasting got things to work eventually - but my next matrix install had a similar loop where I learned about some gotchas and 'dont do this thing!' stuff with nginx.

I tried caddy instead at some point which seemed like a nicer / easier to read and do type of thing.. but then compatibility issues with Debian + Matrix + Caddy just became another time sink.

apache things would of been easier for me if the matrix tutorials including it. then some nginx updates and other things - I would not call it easier to configure.

definitely some nice things in there though - loved seeing the power of how it can work and it makes sense. It may be worth it, but not easier I feel.

Not if you've been using Apache for 20+ years...
For starters it doesn't have a Critical RCE Vulnerability.
s/a/a\ known
For sta knownrters it doesn't have a Critical RCE Vulnerability.
Whoops :)
you've missed a number of other 'a's :)
Without the "g" option, the "s" command is only addressing the first match.