From 43be1d3647799c4f62383f8d36e74c1bd0fb9cc8 Mon Sep 17 00:00:00 2001 From: Jordan Cooks Date: Fri, 6 May 2022 07:34:04 -0700 Subject: [PATCH] Update RealIps Description (#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` --- util/Setup/Configuration.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/util/Setup/Configuration.cs b/util/Setup/Configuration.cs index 2cb4edfc92..d54d3162b6 100644 --- a/util/Setup/Configuration.cs +++ b/util/Setup/Configuration.cs @@ -97,7 +97,9 @@ namespace Bit.Setup [Description("Defines \"real\" IPs in nginx.conf. Useful for defining proxy servers that forward the \n" + "client IP address.\n" + - "Learn more: https://nginx.org/en/docs/http/ngx_http_realip_module.html")] + "Learn more: https://nginx.org/en/docs/http/ngx_http_realip_module.html\n\n" + + "Defined as a dictionary, e.g.:\n" + + "real_ips: ['10.10.0.0/24', '172.16.0.0/16']")] public List RealIps { get; set; } [Description("Enable Key Connector (https://bitwarden.com/help/article/deploy-key-connector)")]