Skip to content
N

nginx-proxy

Automated proxy for Docker containers

by nginx-proxyFree

#520in Developer Tools
0In stores

Description

nginx-proxy is an automated reverse proxy for Docker containers. It runs an nginx container alongside docker-gen, which generates nginx reve…

Highlights

  • Automatic nginx config from running containers
  • Routes by VIRTUAL_HOST subdomain
  • Debian, Alpine and dockergen image variants
  • Works with separate nginx containers
  • Reloads when containers start or stop

Ratings & Reviews

No ratings yet

Be the first to rate nginx-proxy.

People also visit

N

Nginx Proxy Manager

Docker container for managing Nginx proxy hosts

Developer Tools
Launch
G

go-doxy

Lightweight, simple, and performant reverse proxy

Developer Tools
Launch
G

Godoxy

High-performance reverse proxy and container orchestrator for self-hosters

Developer Tools
Launch
S

SWAG (Secure Web Application Gateway)

Nginx webserver and reverse proxy with PHP support, built-in Certbot

Developer Tools
Launch
D

DNS Proxy Server

Solve your DNS hosts from your docker containers

Developer Tools
Launch
N

Nginx Le

Nginx with automatic let's encrypt (docker image)

Productivity
Launch

nginx-proxy FAQ

What does nginx-proxy do?

It runs nginx with docker-gen, so nginx is reconfigured automatically when containers start or stop, and routes traffic to them by hostname.

How do I route a container?

Start the container with a VIRTUAL_HOST environment variable set to the subdomain you want, such as subdomain.yourdomain.com, and point DNS at the host.

What must the proxied container provide?

It must expose the port it serves, using EXPOSE in its Dockerfile or --expose, and share at least one Docker network with nginx-proxy.

Which image should I use?

There is a Debian-based image, an -alpine variant, and a -dockergen variant for setups with separate nginx containers.

Can I use the latest tag in production?

The README advises against it. The latest, alpine and dockergen tags follow the main branch, so pin a specific version.

Does it support port numbers in VIRTUAL_HOST?

No. The README says providing a port number in VIRTUAL_HOST is not supported.

What are the best nginx-proxy alternatives?

Popular alternatives to nginx-proxy include Nginx Proxy Manager, go-doxy and Godoxy. See all nginx-proxy alternatives

Developer Stuff

Badges