Nginx - A web server and reverse proxy that scales simply
Most web stacks need something at the edge to terminate TLS, serve static files, and hand requests to an application. Nginx does those jobs with a small memory footprint and a config language that becomes familiar after a few rewrites. It also works as a load balancer, cache, and rate limiter, which is why it keeps showing up in front of everything from blogs to internal APIs. The open-source version covers the common case; the commercial one adds extras. Take care with nested location blocks and reload tests, because a typo can take a site down quickly.
Links
- Website: https://nginx.org/
- GitHub: https://github.com/nginx/nginx
- Docs: https://nginx.org/en/docs/
Alternatives
- Apache HTTP Server: A long-standing web server with per-directory config files and a very different module model.
- Caddy: A modern server that handles HTTPS certificates automatically and uses a much shorter config.
- Traefik: A reverse proxy built around service discovery, popular in container-heavy stacks.
- HAProxy: A focused load balancer with excellent traffic rules and very little feature creep.