Skip to content

Commit

Permalink
Update .traefik.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Scartzz authored Dec 24, 2020
1 parent ac7d1b4 commit a2a4442
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .traefik.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
# The name of your plugin as displayed in the Traefik Pilot web UI.
displayName: X-Real-IP Overwrite
displayName: Cloudflare Connecting IP Restore

# For now, `middleware` is the only type available.
type: middleware

# The import path of your plugin.
import: github.com/pvalletbo/traefik-forwarded-real-ip
import: github.com/scartzz/traefik-cloudflare-restoring-ip

# A brief description of what your plugin is doing.
summary: When traefik is deployed behind a load balancer, it should get the real IP from the x-forwarded-for header.
summary: When traefik is deployed behind the cloudflare proxy, it should get the real IP from the cf-connecting-ip header.

# Configuration data for your plugin.
# This is mandatory,
# and Traefik Pilot will try to execute the plugin with the data you provide as part of its startup validity tests.
testData:
excludednets:
- "1.1.1.1/24"
- "1.1.1.1/24"

0 comments on commit a2a4442

Please sign in to comment.