[HN Gopher] Show HN: Nginx Common Useful Configuration
       ___________________________________________________________________
        
       Show HN: Nginx Common Useful Configuration
        
       Author : frizzy
       Score  : 23 points
       Date   : 2022-03-31 19:21 UTC (3 hours ago)
        
 (HTM) web link (github.com)
 (TXT) w3m dump (github.com)
        
       | amanzi wrote:
       | It suddenly feels like Nginx is a legacy system, in the same way
       | Apache became a legacy system when Nginx was launched. If I need
       | a web server my first instinct is to reach for Caddy, or if I
       | just need a reverse-proxy then it's either Caddy or Traefik.
        
       | frizzy wrote:
       | Hi guys, I agree with you that today there are a lot of better
       | web servers like traefik, caddy and so one, but nginx is still
       | popular and so one people use it wrong... So I decided to open
       | source my own variant of configs for it)
        
         | technion wrote:
         | I don't think you should feel a need to defend this. It's one
         | of the more popular web servers on the Internet, and this looks
         | like a great resource for it.
        
       | metadat wrote:
       | After switching to Traefik, I haven't looked back. I prefer the
       | fully open source options of HAProxy or Traefik to the feature-
       | paywalled "free tier" nginx of today. Capability wise, between
       | the two they have everything ngx has and more*. Also, have you
       | ever tried compiling ngx yourself (they don't include Lua modules
       | support in their k8s Docker images)? It's not easy, interesting,
       | or fun. More of a nightmare.
       | 
       | Finally, I sure don't miss feeling the urge to bookmark config
       | helper articles like this one- nginx is challenging to configure
       | well! Endless hidden options, and for whatever reason I found
       | their documentation less helpful than HAProxy's.
       | 
       | If you are forced to continue using it, you have my sympathy.
       | 
       | * I've created some rather exotic LB setups as times to meet
       | requirements.
        
       ___________________________________________________________________
       (page generated 2022-03-31 23:01 UTC)