IPStrategy for selecting IP in whitelist
This commit is contained in:
parent
1ec4e03738
commit
00728e711c
65 changed files with 2444 additions and 1837 deletions
|
@ -17,7 +17,8 @@ checkNewVersion = false
|
|||
entryPoint = "http"
|
||||
[entryPoints.httpWhitelistReject]
|
||||
address = ":8002"
|
||||
whiteListSourceRange = ["8.8.8.8/32"]
|
||||
[entryPoints.httpWhitelistReject.whiteList]
|
||||
sourceRange = ["8.8.8.8/32"]
|
||||
[entryPoints.httpAuth]
|
||||
address = ":8004"
|
||||
[entryPoints.httpAuth.auth.basic]
|
||||
|
|
13
integration/fixtures/simple_whitelist.toml
Normal file
13
integration/fixtures/simple_whitelist.toml
Normal file
|
@ -0,0 +1,13 @@
|
|||
logLevel = "DEBUG"
|
||||
defaultEntryPoints = ["http"]
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":8000"
|
||||
[entryPoints.http.ForwardedHeaders]
|
||||
insecure=true
|
||||
[entryPoints.http.ClientIPStrategy]
|
||||
depth=2
|
||||
|
||||
[api]
|
||||
[docker]
|
Loading…
Add table
Add a link
Reference in a new issue