How to Use nginx-proxy and acme-companion as a Docker Reverse Proxy
Running multiple services on a single server typically requires a unified entry point to handle routing and SSL termination in one place. The jwilder/nginx-proxy image automates this by watching the Docker socket and dynamically generating nginx configuration based on container labels and environment variables. An acme-companion container pairs with nginx-proxy to automatically provision and renew Let's Encrypt SSL certificates, sharing a common volume for certificate files. Both containers communicate with other services through a shared external Docker network called 'webproxy', which must be created manually once before deployment. Per-domain custom nginx configuration snippets can be placed in a designated host directory, allowing fine-grained access control without manually editing the main nginx configuration.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)
Log in to join the discussion and vote.
Log in