Skip to content

Commit

Permalink
Clarify trusted-proxy option env TRUSTED_PROXY
Browse files Browse the repository at this point in the history
  • Loading branch information
imjustmatthew authored and lastzero committed May 7, 2023
1 parent 9de9a35 commit 7abf5c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/config/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ var Flags = CliFlags{
}}, {
Flag: cli.StringSliceFlag{
Name: "trusted-proxy",
Usage: "`CIDR` range from which reverse proxy headers can be trusted",
Usage: "`CIDR` ranges or IPv4/v6 addresses from which reverse proxy headers can be trusted, separated by commas",
Value: &cli.StringSlice{header.CidrDockerInternal},
EnvVar: EnvVar("TRUSTED_PROXY"),
}}, {
Expand Down

0 comments on commit 7abf5c7

Please sign in to comment.