nginx-proxy sets up a container running nginx and docker-gen. docker-gen generates reverse proxy configs for nginx and reloads nginx when containers are started and stopped. The containers being proxied must expose the port to be proxied, either by using the EXPOSE directive in their Dockerfile or by using the --expose flag to docker run or docker create and be in the same network. By default, if you don't pass the --net flag when your nginx-proxy container is created, it will only be attached to the default bridge network. This means that it will not be able to connect to containers on networks other than bridge.

Features

  • Provided your DNS is setup to forward foo.bar.com to the host running nginx-proxy, the request will be routed to a container with the VIRTUAL_HOST env var set
  • The nginx-proxy images are available in two flavors
  • This image is based on the nginx:alpine image
  • IPv6 support
  • Scoped IPv6 Resolvers
  • By default, docker uses IPv6-to-IPv4 NAT

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow nginx-proxy

nginx-proxy Web Site

nel_h2
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of nginx-proxy!

Additional Project Details

Programming Language

Python

Related Categories

Python Proxy Servers, Python Reverse Proxy Server

Registered

2023-08-14