changeset 1699:79b95ce5d315

Small fix to docs.
author Robert Casties <casties@mpiwg-berlin.mpg.de>
date Tue, 18 Dec 2018 12:00:22 +0100
parents 7e4396e467de
children c9c100cc86ef
files doc/src/site/markdown/server-setup.md
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/doc/src/site/markdown/server-setup.md	Tue Dec 18 11:35:41 2018 +0100
+++ b/doc/src/site/markdown/server-setup.md	Tue Dec 18 12:00:22 2018 +0100
@@ -35,9 +35,7 @@
 }
 ```
 
-### Resources
-
-- the [nginx documentation](nginx.org/en/docs/)
+Please check the [nginx documentation](nginx.org/en/docs/).
 
 ## Apache as proxy and load-balancer
 
@@ -107,7 +105,9 @@
 correct request URL for the servlets.
 
 Please see the Tomcat documentation about the [Remote IP Valve](https://tomcat.apache.org/tomcat-9.0-doc/config/valve.html#Remote_IP_Valve).
-You basically need to add the following XML tag with your proxy's IP numbers to the `Host` tag of your `server.xml` file:
+You basically need to add the following XML tag with your proxy's IP numbers to the `Host` tag of your `server.xml` file
+and make sure `ProxyPreserveHost` is set to `on`:
+
 ```
   <Valve className="org.apache.catalina.valves.RemoteIpValve"
     internalProxies="127\.0\.0\.1|123\.45\.67\.89"
@@ -115,4 +115,5 @@
     proxiesHeader="x-forwarded-by" 
     protocolHeader="x-forwarded-proto" />
 ```
-and make sure `ProxyPreserveHost` is set to `on`.
+
+