Update comments in .env.docker.example

Clarified comments regarding TRUSTED_PROXY and TRUST_PROXIES settings.
pull/7880/head
Shlee 6 days ago committed by GitHub
parent 9eab456c3b
commit 29cd115944
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -36,15 +36,15 @@ SESSION_DOMAIN=null # Keep as null unless required for sharing session cookies w
# TRUSTED_PROXY (Required)
# Read by the serversideup FrankenPHP image.
# cloudflare (default) - trust Cloudflare ranges (CF-Connecting-IP) + Docker networks
# local (default) - trust only private/Docker network ranges (X-Forwarded-For)
# cloudflare - trust Cloudflare ranges (CF-Connecting-IP) + Docker networks
# sucuri - trust Sucuri WAF ranges (X-Forwarded-For) + Docker networks
# local - trust only private/Docker network ranges (X-Forwarded-For)
# off - disable trusted proxy handling
TRUSTED_PROXY="local"
# Trusted Proxies (Don't touch)
# TRUST_PROXIES is read by Laravel's TrustProxies middleware. The serversideup
# web server (Caddy) already validates the proxy before the request reaches PHP.
# TRUST_PROXIES is read by Laravel's TrustProxies middleware. The serversideup web server (Caddy)
# already validates the proxy before the request reaches PHP via the TRUSTED_PROXY value.
TRUST_PROXIES="*"
# Database Configuration

Loading…
Cancel
Save