forked from pvalletbo/traefik-forwarded-real-ip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |