This container provides an Nginx application with Dnsmasq, particularly useful if you're using DNS-based microservices discovery, e.g. with Rancher
Add your server configs inside /etc/nginx/conf.d
, e.g. by extending this Docker image or a volume mount.
Use a DNS alias (e.g., in a Docker overlay network) to create a zero-downtime upgrade proxy:
resolver 127.0.0.1; # The bundled dnsmasq daemon
server {
listen 80;
location / {
set $backend servicename;
proxy_pass http://$backend;
}
}
© Brad Jones LLC, Licensed under GPL-2.