docs: Update links to new "Reverse proxies" page.

This commit is contained in:
David Rosa 2024-02-16 16:32:09 -07:00 committed by Tim Abbott
parent d6219e93a8
commit e891c57d0e
2 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@ map $remote_addr $trusted_x_forwarded_proto {
}
map $http_x_forwarded_for $x_proxy_misconfiguration {
default "";
"~." "No proxies configured in Zulip, but proxy headers detected from proxy at $remote_addr; see https://zulip.readthedocs.io/en/latest/production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy";
"~." "No proxies configured in Zulip, but proxy headers detected from proxy at $remote_addr; see https://zulip.readthedocs.io/en/latest/production/reverse-proxies.html";
}
<% else %>
# Check if the request's original `REMOTE_ADDR` header was from a
@ -37,8 +37,8 @@ map $is_x_forwarded_proto_trusted $trusted_x_forwarded_proto {
}
map "$is_from_proxy:$is_x_forwarded_proto_trusted:$http_x_forwarded_proto" $x_proxy_misconfiguration {
"~^0:0:" "Incorrect reverse proxy IPs set in Zulip (try $remote_addr?); see https://zulip.readthedocs.io/en/latest/production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy";
"~^0:1:$" "No X-Forwarded-Proto header sent from trusted proxy $realip_remote_addr; see example configurations in https://zulip.readthedocs.io/en/latest/production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy";
"~^0:0:" "Incorrect reverse proxy IPs set in Zulip (try $remote_addr?); see https://zulip.readthedocs.io/en/latest/production/reverse-proxies.html";
"~^0:1:$" "No X-Forwarded-Proto header sent from trusted proxy $realip_remote_addr; see example configurations in https://zulip.readthedocs.io/en/latest/production/reverse-proxies.html";
default "";
}
<% end %>

View File

@ -1085,7 +1085,7 @@
<tr class="self-hosted-feature-only">
<td class="comparison-table-feature">
<a
href="https://zulip.readthedocs.io/en/latest/production/deployment.html#putting-the-zulip-application-behind-a-reverse-proxy">
href="https://zulip.readthedocs.io/en/latest/production/reverse-proxies.html">
Custom TLS server termination</a>
</td>
<td class="comparison-value-null cloud-cell"></td>