Skip to content

Commit

Permalink
updating Valve tomcat configuration
Browse files Browse the repository at this point in the history
this one works, not sure about the removed
proxiesHeader="x-forwarded-by"
  • Loading branch information
sergiocontrino committed Jan 7, 2020
1 parent f92d5c5 commit 0297278
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions docs/intermine/https.rst
Original file line number Diff line number Diff line change
Expand Up @@ -36,12 +36,11 @@ You should add a configuration to your tomcat server.xml in the Engine section,
<Valve className="org.apache.catalina.valves.RemoteIpValve"
protocolHeaderHttpsValue="https"
remoteIpHeader="x-forwarded-for"
proxiesHeader="x-forwarded-by"
requestAttributesEnabled="true"
internalProxies="\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}"
protocolHeader="x-forwarded-proto" />
It is also good practice to limit access to tomcat port only to the host's loopback address (localhost):

.. code-block:: xml
Expand Down

0 comments on commit 0297278

Please sign in to comment.