Add whitelist configuration option for entrypoints
* Add whitelist configuration option for entrypoints * Add whitelist support to --entrypoint flag
This commit is contained in:
parent
a7ec785994
commit
759a19bc4f
5 changed files with 131 additions and 39 deletions
|
@ -279,6 +279,12 @@ To write JSON format logs, specify `json` as the format:
|
|||
# address = ":80"
|
||||
# compress = true
|
||||
|
||||
# To enable IP whitelisting at the entrypoint level:
|
||||
# [entryPoints]
|
||||
# [entryPoints.http]
|
||||
# address = ":80"
|
||||
# whiteListSourceRange = ["127.0.0.1/32"]
|
||||
|
||||
[entryPoints]
|
||||
[entryPoints.http]
|
||||
address = ":80"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue