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

14 Replies, 914 Views

I’ve used both Nginx and Traefik, and Traefik wins for Docker setups. The auto-config is *chef’s kiss*.

For security, you’ll want to pair it with Let’s Encrypt. Here’s a snippet for HTTPS:
```yaml
command:
- --entrypoints.web.address=:80
- --entrypoints.websecure.address=:443
- --certificatesresolvers.myresolver.acme.httpchallenge=true
- --certificatesresolvers.myresolver.acme.httpchallenge.entrypoint=web
```
Docs: https://doc.traefik.io/traefik/

Messages In This Thread



Users browsing this thread: 1 Guest(s)