News for hackers. Stuff that matters.
Re:Nginx to Be Acquired by F5 Networks by wolco on Monday March 11, 2019 @05:55PM (#19363227)
Life is nicer in many ways under apache.
Re:Nginx to Be Acquired by F5 Networks by coder543 on Monday March 11, 2019 @06:00PM (#19363282)
What are some of these "many ways"? because I strongly favor the quality of life under nginx over that of apache. For smaller projects, these days I reach for Caddy which is even more pleasant to use than nginx.
Re:Nginx to Be Acquired by F5 Networks by wolco on Monday March 11, 2019 @06:19PM (#19363434)
My personal reasons:

- PHP under apache is faster - Small config files per site - .htaccess at the folder level when required

I usually use both and serve php from apache and serve static content over nginx. Best of both worlds.

Re:Nginx to Be Acquired by F5 Networks by apple4ever on Tuesday March 12, 2019 @07:31PM (#19374145)
.htaccess is the thing I strongly dislike about Apache.

With nginx the config is centralized in a specific location. With Apache, configs are all over the place.

Re:Nginx to Be Acquired by F5 Networks by maheart on Monday March 11, 2019 @08:27PM (#19364265)
Not OP, but here are some (IMO big) advantages Apache has over nginx (FOSS):

- Provides HTTP caching (via mod_cache)

- Simplifies the deployment stack by providing built-in interpreters for dynamic languages. e.g. mod_php (i.e. you don't need php-fpm), mod_wsgi (i.e. you don't need gunicorn)

- Load-balancer upstream affinity ("stickiness") based on HTTP cookies

- Load-balancing based on upstream's connection count (via mod_heartbeat)

- Built-in Let's Encrypt integration (via mod_md)

tl;dr provides a lot of features out of the box -- some people may see this as "bloat" or overly tight coupling, but this provides simplicity.

Re:Nginx to Be Acquired by F5 Networks by coder543 on Monday March 11, 2019 @08:44PM (#19364367)
the FOSS version of nginx has great built-in caching, so I disagree there, but the others I can agree on, especially mod_php. I don't ever use PHP these days, so it's not something I routinely think about, but I'm sure Apache is better for PHP than nginx.

I feel that the let's encrypt CLI clients are plenty good for nginx, to the point that installing a new module for apache (let alone nginx) is more work than just running a CLI client.

If you want TLS automation, Caddy is superbly good at fetching its own certs, and you don't have to fiddle with installing an additional module to do it.