Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.04 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.04 KB

Dockerized Nginx with Dnsmasq

Docker Automated buil

This container provides an Nginx application with Dnsmasq, particularly useful if you're using DNS-based microservices discovery, e.g. with Rancher

Super-simple microservices pattern

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;
    }
}

What if I need haz SSL?

See docker-nginx-letsencrypt

License and Copyright

© Brad Jones LLC, Licensed under GPL-2.