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:
14
.env.example
14
.env.example
@@ -70,6 +70,20 @@ TRAEFIK_ACCESS_LOG=
|
||||
# Configure the log level for Traefik.
|
||||
# Possible values are "TRACE", "DEBUG", "INFO", "WARN", "ERROR", "FATAL" and "PANIC". Default is "ERROR".
|
||||
TRAEFIK_LOG_LEVEL=
|
||||
# Proxy configuration for Traefik (when server has no direct internet access)
|
||||
# Use these variables when you need to route Traefik traffic through a proxy
|
||||
# Example for SOCKS5 proxy: SOCKS_PROXY=socks5://localhost:18080
|
||||
# Example for HTTP proxy: HTTP_PROXY=http://localhost:8080
|
||||
# Note: Set up SSH tunnel to forward your local proxy to the server:
|
||||
# ssh -R 18080:127.0.0.1:18080 -N -T user@server
|
||||
# Then on the server, set:
|
||||
# SOCKS_PROXY=socks5://localhost:18080
|
||||
# HTTP_PROXY=http://localhost:18080
|
||||
# HTTPS_PROXY=http://localhost:18080
|
||||
SOCKS_PROXY=
|
||||
HTTP_PROXY=
|
||||
HTTPS_PROXY=
|
||||
NO_PROXY=localhost,127.0.0.1,172.16.0.0/12,10.0.0.0/8
|
||||
|
||||
|
||||
## OpenCloud Settings ##
|
||||
|
||||
Reference in New Issue
Block a user