Re:Nginx 1.13 released with TLS 1.3 support
by kawsper on Wednesday April 26, 2017 @03:43AM
(#14201204)
Could you elaborate on how you use Nginx as a service discovery load balancer?
[ Parent
| on HN ]
Re:Nginx 1.13 released with TLS 1.3 support
by jnsaff2 on Wednesday April 26, 2017 @06:30AM
(#14201916)
I think most of the ideas are presented here: https://github.com/martensson/nixy
In essence there is a wrapper that:
- reads service information and current backend instances out of service catalog (either Marathon or Consul)
- writes nginx configuration
- runs nginx configtest
- tells nginx to reload its configuration
Nixy referenced above takes service information directly from Marathon event stream but I usually have Consul so I use homebaked consul-template + nginx solution.