From 785a05910108a6d032e802605762d7567dec4123 Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Fri, 2 Mar 2018 00:05:28 -0500 Subject: Bug 1442520 - move inbound_proxies to localconfig --- template/en/default/admin/params/advanced.html.tmpl | 9 --------- template/en/default/setup/strings.txt.pl | 5 +++++ 2 files changed, 5 insertions(+), 9 deletions(-) (limited to 'template/en/default') diff --git a/template/en/default/admin/params/advanced.html.tmpl b/template/en/default/admin/params/advanced.html.tmpl index 75885b3f4..92c84d703 100644 --- a/template/en/default/admin/params/advanced.html.tmpl +++ b/template/en/default/admin/params/advanced.html.tmpl @@ -54,15 +54,6 @@ [% END %] [% param_descs = { - inbound_proxies => - "When inbound traffic to $terms.Bugzilla goes through a proxy," - _ " $terms.Bugzilla thinks that the IP address of every single" - _ " user is the IP address of the proxy. If you enter a comma-separated" - _ " list of IPs in this parameter, then $terms.Bugzilla will trust any" - _ " X-Forwarded-For header sent from those IPs," - _ " and use the value of that header as the end user's IP address." - _ " If set to a *, $terms.Bugzilla will trust the first value in the " - _ " X-Forwarded-For header.", proxy_url => "$terms.Bugzilla may have to access the web to get notifications about" diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl index ce4785b04..9de426972 100644 --- a/template/en/default/setup/strings.txt.pl +++ b/template/en/default/setup/strings.txt.pl @@ -180,6 +180,11 @@ END For the "Difference Between Two Patches" feature to work, we need to know what directory the "diff" bin is in. (You only need to set this if you are using that feature of the Patch Viewer.) +END + localconfig_inbound_proxies => <<'END', +This is a list of IP addresses that we expect proxies to come from. +This can be '*' if only the load balancer can connect. +Setting this to '*' means that we can trust the X-Forwarded-For header. END localconfig_index_html => <<'END', Most web servers will allow you to use index.cgi as a directory -- cgit v1.2.3-24-g4f1b