Try to fix X-Forwared-For behind nginx

See: https://docs.traefik.io/configuration/entrypoints/#forwarded-header
parent ae6dbc3c
......@@ -35,6 +35,15 @@ defaultEntryPoints = ["http", "https"]
[entryPoints]
[entryPoints.http]
address = ":80"
[entryPoints.http.forwardedHeaders]
# List of trusted IPs
#
# Required
# Default: []
#
trustedIPs = ["10.0.0.0/8", "192.168.0.0/16"]
[entryPoints.https]
address = ":443"
[entryPoints.https.tls]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment