How does nginx-proxy find my containers?
It runs nginx together with docker-gen, which generates the reverse proxy configuration and reloads nginx whenever containers start or stop.
Let nginx and docker-gen write reverse proxy configs for your other Docker containers automatically.
How nginx-proxy stacks up against other reverse proxy apps. Add or remove apps to change the comparison.
It runs nginx together with docker-gen, which generates the reverse proxy configuration and reloads nginx whenever containers start or stop.
Start the container with a VIRTUAL_HOST environment variable set to the hostname you want, for example subdomain.yourdomain.com. nginx-proxy then routes that name to the container.
docker-gen needs to watch Docker for container changes, so the container mounts /var/run/docker.sock, read-only in the project's example. Treat access to that socket as sensitive.
The example publishes port 80. See the project documentation for HTTPS and other options.
Run a web server and reverse proxy for your homelab apps, with HTTPS that sets itself up through Let's Encrypt.
Manage Nginx reverse proxy hosts and free Let's Encrypt SSL certificates from a FOSS web interface.
Discover Docker containers and route to them automatically with a FOSS reverse proxy and load balancer, Let's Encrypt certificates included.
Updated