Show HN: Nginx Common Useful Configuration
1–10 of 13 posts
Re: Show HN: Nginx Common Useful Configuration
#2Finally, 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.
Re: Show HN: Nginx Common Useful Configuration
#3Re: Show HN: Nginx Common Useful Configuration
#4Re: Show HN: Nginx Common Useful Configuration
#5Hi 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)
Re: Show HN: Nginx Common Useful Configuration
#6I ended up just adding another domain name and configuring it from scratch to point to a matrix client folder, and then running the certbot expand.. and now it's working on a different domain.
Guides like this one posted are much more help trying understand the whole chain of things as opposed to a bunch of random pseduo answers via stackover and the like.
Re: Show HN: Nginx Common Useful Configuration
#7After 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…
There's always OpenResty[1] which is a kind of "batteries included" version of nginx - I use it in preference to nginx these days because I do a lot of experiments with, e.g., the Lua, Redis, Postgres support OR has.
Re: Show HN: Nginx Common Useful Configuration
#8glad to see this posted. nginx has driven me crazy the past 4 days. After reading and reading and reading, and experimenting.. I have a feeling that when I ran lets encrypt certbot, it added some things in files that were needed, but became a problem when I actually made the config files that were needed to point to the new folders.. I'm still not sure actually. I ended up just adding another domain name and configur…
I love nginx but it's hard to recommend it when other solutions exist that require zero fiddling and zero maintenance to get HTTPS working.
Re: Show HN: Nginx Common Useful Configuration
#9glad to see this posted. nginx has driven me crazy the past 4 days. After reading and reading and reading, and experimenting.. I have a feeling that when I ran lets encrypt certbot, it added some things in files that were needed, but became a problem when I actually made the config files that were needed to point to the new folders.. I'm still not sure actually. I ended up just adding another domain name and configur…
We are what, 6 or 7 years after Let's Encrypt changed how we deal with certificates? The fact that nginx still requires the perfect incantation of certbot, cronjobs and whatnot is mind-boggling. I love nginx but it's hard to recommend it when other solutions exist that require zero fiddling and zero maintenance to get HTTPS working.
Re: Show HN: Nginx Common Useful Configuration
#10Hi 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)