traefik/integration/fixtures/headers/remove_reverseproxy_headers.toml
Romain 4d63eb30f9
Allow X-Forwarded-For delete operation
Co-authored-by: landrybe <lbenguigui@gmail.com>
2023-09-22 11:00:07 +02:00

31 lines
619 B
TOML

[global]
checkNewVersion = false
sendAnonymousUsage = false
[log]
level = "DEBUG"
[entryPoints]
[entryPoints.web]
address = ":8000"
[providers.file]
filename = "{{ .SelfFilename }}"
## dynamic configuration ##
[http.routers]
[http.routers.router1]
rule = "Host(`test.localhost`)"
middlewares = ["remove"]
service = "service1"
[http.middlewares]
[http.middlewares.remove.headers.customRequestHeaders]
X-Forwarded-For = ""
Foo = ""
[http.services]
[http.services.service1.loadBalancer]
[[http.services.service1.loadBalancer.servers]]
url = "http://127.0.0.1:9000"