summaryrefslogtreecommitdiff
path: root/docs/reverse-proxy.rst
diff options
context:
space:
mode:
authorMichael Merickel <michael@merickel.org>2018-12-02 22:10:21 -0600
committerMichael Merickel <michael@merickel.org>2018-12-02 22:10:21 -0600
commite5c56673e422cd2c4f80c4b86a7109dd82acb546 (patch)
treed87bda2d6cf08d83262ce4c94a0b48a1a1d04ea6 /docs/reverse-proxy.rst
parent32f3571caf729f94363cdff4a03460e1ef387a0e (diff)
downloadwaitress-e5c56673e422cd2c4f80c4b86a7109dd82acb546.tar.gz
fix docs formatting
Diffstat (limited to 'docs/reverse-proxy.rst')
-rw-r--r--docs/reverse-proxy.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/docs/reverse-proxy.rst b/docs/reverse-proxy.rst
index 42f8352..7081fda 100644
--- a/docs/reverse-proxy.rst
+++ b/docs/reverse-proxy.rst
@@ -77,7 +77,7 @@ when using Apache, ``mod_proxy`` automatically forwards the following headers::
X-Forwarded-Host
X-Forwarded-Server
-You will also want to add for Apache::
+You will also want to add to Apache::
RequestHeader set X-Forwarded-Proto https
@@ -86,7 +86,8 @@ Configure waitress's ``trusted_proxy_headers`` as appropriate::
trusted_proxy_headers = "x-forwarded-for, x-forwarded-host, x-forwarded-proto, x-forwarded-port"
At this point waitress will set up the WSGI environment using the information
-sent in the proxy headers. This will setup the following variables::
+specified in the trusted proxy headers. This will setup the following
+variables::
HTTP_HOST
SERVER_NAME
@@ -107,8 +108,8 @@ To configure waitress to use the ``Forwarded`` header, set::
.. note::
- You must also configure the Waitress server's ``trusted_proxy`` and
- to contain the IP address of the proxy
+ You must also configure the Waitress server's ``trusted_proxy`` to
+ contain the IP address of the proxy.
Using ``url_prefix`` to influence ``SCRIPT_NAME`` and ``PATH_INFO``