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:
Matthew Roy 2023-05-07 11:04:47 -04:00 committed by Michael Mayer
parent 9de9a35406
commit 7abf5c70cf

View file

@ -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"),
}}, {