Add SOCKS proxy support for certificate renewal without internet access
- Configure Traefik to use SOCKS/HTTP proxy for Let's Encrypt ACME challenges - Add proxy environment variables (SOCKS_PROXY, HTTP_PROXY, HTTPS_PROXY, NO_PROXY) - Update docker-compose.yml to pass proxy vars to Traefik container - Update entrypoint script to log proxy configuration - Document proxy setup in .env.example - Add comprehensive guide: PROXY_CERTIFICATE_RENEWAL.md with SSH tunnel setup instructions
This commit is contained in:
@@ -11,6 +11,10 @@ services:
|
||||
- "TRAEFIK_ACME_CASERVER=${TRAEFIK_ACME_CASERVER:-https://acme-v02.api.letsencrypt.org/directory}"
|
||||
- "TRAEFIK_LOG_LEVEL=${TRAEFIK_LOG_LEVEL:-ERROR}"
|
||||
- "TRAEFIK_ACCESS_LOG=${TRAEFIK_ACCESS_LOG:-false}"
|
||||
- "SOCKS_PROXY=${SOCKS_PROXY}"
|
||||
- "HTTP_PROXY=${HTTP_PROXY}"
|
||||
- "HTTPS_PROXY=${HTTPS_PROXY}"
|
||||
- "NO_PROXY=${NO_PROXY:-localhost,127.0.0.1,172.16.0.0/12,10.0.0.0/8}"
|
||||
ports:
|
||||
- "80:80"
|
||||
- "443:443"
|
||||
|
||||
Reference in New Issue
Block a user