94 points · by MarionG · 5y ago · 29 comments
https://news.netcraft.com/archives/category/web-server-surve...
Netcraft confirms it. :-)
Whereas with Apache2, PHP/Python/etc. interpreters can run directly in the Apache worker processes. Similarly, you can also run Nodejs/Ruby/Python web application as part of Apache with Passenger module.
nginx is good at serving dynamic content too. Simple setup with uwsgi for Python and php-fpm for PHP.
> Considering nginx is really just good at serving static content...
That's not correct at all. Regardless of how the request handled, serving dynamic content on nginx is trivial.
For me, the main draw to nginx was powerful (web) proxying, static file performance and simpler configs - Caddy does all of that 10x. In a sense, nginx is right in between Apache and Caddy, so unless I need to proxy something obscure like RTMP or email, I rarely have a use for it these days.
HTTP is not new technology, nor rocket science, a web server to serve a simple HTML page should be configurable from scratch, from an empty .conf file, in seconds.
Caddy seems to share the same philosophy.