Skip to content

Commit 43be1d3

Browse files
authored
Update RealIps Description (bitwarden#1980)
Describe the syntax of the real_ips configuration key with an example, to prevent type errors in the `setup` container when parsing `config.yml`
1 parent 8b1a6b4 commit 43be1d3

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

util/Setup/Configuration.cs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,9 @@ public class Configuration
9797

9898
[Description("Defines \"real\" IPs in nginx.conf. Useful for defining proxy servers that forward the \n" +
9999
"client IP address.\n" +
100-
"Learn more: https://nginx.org/en/docs/http/ngx_http_realip_module.html")]
100+
"Learn more: https://nginx.org/en/docs/http/ngx_http_realip_module.html\n\n" +
101+
"Defined as a dictionary, e.g.:\n" +
102+
"real_ips: ['10.10.0.0/24', '172.16.0.0/16']")]
101103
public List<string> RealIps { get; set; }
102104

103105
[Description("Enable Key Connector (https://bitwarden.com/help/article/deploy-key-connector)")]

0 commit comments

Comments
 (0)