Clarify trusted-proxy option env TRUSTED_PROXY
Clarify that PHOTOPRISM_TRUSTED_PROXY is passed to Gin per 457fabd7e1/docs/doc.md (dont-trust-all-proxies)
This commit is contained in:
parent
9de9a35406
commit
7abf5c70cf
1 changed files with 1 additions and 1 deletions
|
@ -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"),
|
||||
}}, {
|
||||
|
|
Loading…
Reference in a new issue