nginx-proxy: Automatic Docker Reverse Proxy

Let nginx and docker-gen write reverse proxy configs for your other Docker containers automatically.

Pros and cons

Pros

  • Routes follow containers as they start and stop1
  • One environment variable per proxied app2
  • Plain nginx config underneath3
  • Basic auth and client certificates4
  • Wildcard and regex hostnames5

Cons

  • Renaming a host means recreating its container6
  • Automatic HTTPS needs a second container7
  • No overview of hosts or certificates8

Compare with similar apps

Compare nginx-proxy with other reverse proxies. Add or remove apps to see how they differ.

Requirement
nginx-proxy
PriceFreeFree
LicenceMITApache-2.0
Web UINoNo
Docker Containers1 (app only)1 (app only)
DatabaseNonenone
Architecturex86 + ARMx86 + ARM
Tech stacknginxGo
DockerYesYes
Linux package–Yes
Windows–Yes
macOS–Yes

Common questions

Which port does nginx-proxy use?

The example publishes port 80. See the project documentation for HTTPS and other options.

Similar apps to nginx-proxy

Updated