News for hackers. Stuff that matters.
Re:Nginx with dynamic upstreams by Rapzid on Sunday July 26, 2015 @06:50PM (#9952478)
I've been working with nginx quite a bit recently for use as a reverse proxy in a containerized environment and have become quite disenfranchised with it.

For some reason it's the most popular reverse proxy for this sort of stuff, however it's not particularly well suited for it. We have this issue. We also have the lack of active upstream checks and any sort of upstream status reports. Both are hidden behind the nginx Plus paywall which is absurdly expensive in a micro-architecture world. There are various patches, Patches!?, you can apply but the documentation isn't fantastic and this is an extra bit of hassle we don't really deserve..

I think the open internet deserves a better reverse proxy TBH.

Re:Nginx with dynamic upstreams by elithrar on Sunday July 26, 2015 @07:06PM (#9952530)
Have you looked into HAProxy? Health checks, SSL termination and a reasonable configuration DSL: https://www.digitalocean.com/community/tutorials/an-introduc...
Re:Nginx with dynamic upstreams by Rapzid on Sunday July 26, 2015 @08:27PM (#9952752)
I am acutely aware of HAProxy however the rest of the team is, no surprise I'm sure, familiar with nginx. Likely I'll end up doing the usual nginx->haproxy->backend chain again. HAPROXY appears to have an enterprise now(it may have had forever I just have not noticed) but it appears to be much more focused on value-add support and stack validation than hiding simple-to-implement stuff behind a paywall and open-core. This is more of a frustration with nginx which could be so much more for us if:

* They were not purposely holding back features so they can be pay-walled

* Re-compiling were not necessary to add functionality

* More cohesive modification ecosystem

I know I said "reverse proxy" which HAProxy is cleary the more superior, but I didn't mean to limit my statement to reverse proxies. nginx does have a lot of other functionality people rely on..

Re:Nginx with dynamic upstreams by Tenzer on Monday July 27, 2015 @12:06AM (#9953270)
Dynamic modules are on the road map, according to this article: http://www.infoworld.com/article/2951849/web-services/nginx-....