What's the best way to set up a Docker proxy service for secure container traffic? Alternatively: How

14 Replies, 874 Views

For a *super* minimal docker proxy service, check out `jwilder/nginx-proxy`. It’s an auto-configuring Nginx container. Super easy:

```bash
docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
```
Then any container with `VIRTUAL_HOST=example.com` gets routed. No fuss.

But yeah, Traefik is better long-term.

Messages In This Thread



Users browsing this thread: 1 Guest(s)