Fix broken formatting in Tomcat reverse proxy config documentation

Remove the unnecessary [TIP] block.

Fix the formatting of links.

Enclose example settings in backticks.

Add an anchor to make it easier to link the section from the release
notes.

Change-Id: I46dcc5cb6afc24c6717885a5ca5f1faa04d7a746
This commit is contained in:
David Pursehouse
2014-10-21 11:02:29 +09:00
parent 48191715c3
commit 7eaea57f8d

View File

@@ -109,15 +109,18 @@ Under Jetty, restarting the web application (e.g. after modifying
`system_config`) is as simple as touching the context config file: `system_config`) is as simple as touching the context config file:
`'$JETTY_HOME'/contexts/gerrit.xml` `'$JETTY_HOME'/contexts/gerrit.xml`
[[tomcat]]
== Tomcat 7.x == Tomcat 7.x
[TIP] If a reverse proxy is used in front of Tomcat then see the
If reverse proxy is used in front of Tomcat then see the configuration link:config-reverseproxy.html[configuration instructions for encoding
instructions for encoding slashes link:config-reverseproxy.html. Otherwise slashes]. Otherwise Tomcat must be configured to encode slashes, by adding
Tomcat must be configured to encode slashes, by adding `-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true` to the
-Dorg.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH=true to `CATALINA_OPTS` environment variable.
CATALINA_OPTS environment variable. Excerpt from the documentation
https://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html: Excerpt from the
link:https://tomcat.apache.org/tomcat-7.0-doc/config/systemprops.html[
documentation]:
---- ----
Property org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH: Property org.apache.tomcat.util.buf.UDecoder.ALLOW_ENCODED_SLASH: