How Do I Block A Certain IP From Accessing Confluence?
- Navigate to
ConfluenceInstallationDirectory/conf
- Edit server.xml
Add these lines in between the
<Context>
tags:<Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="10.60.2.37"/>
Just replace the IP address accordingly. Should look something like this:
<Context path="/c512" docBase="../confluence" debug="0" reloadable="false" useHttpOnly="true"> <!-- Logger is deprecated in Tomcat 5.5. Logging configuration for Confluence is specified in confluence/WEB-INF/classes/log4j.properties --> <Manager pathname="" /> <Valve className="org.apache.catalina.valves.RemoteAddrValve" deny="10.60.2.37"/> </Context>
- Restart Confluence
Last modified on Dec 20, 2018
Powered by Confluence and Scroll Viewport.