NIHVIVO-2812 Restrict access to Solr webapp, so it can only be accessed by a client on the same machine.
This commit is contained in:
parent
b2ce6fb0e6
commit
d53ac74350
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
<Context docBase="${solr.docbase}"
|
||||
crossContext="true" override="true">
|
||||
|
||||
<!-- For security, restrict access to clients on this machine
|
||||
for IPv4 requests, localhost is 127.0.0.1
|
||||
for IPv6 requests, localhost is 0:0:0:0:0:0:0:1 -->
|
||||
<Valve className="org.apache.catalina.valves.RemoteAddrValve"
|
||||
allow="127\.0\.0\.1,0:0:0:0:0:0:0:1"/>
|
||||
|
||||
<Environment
|
||||
type="java.lang.String"
|
||||
name="solr/home"
|
||||
|
|
Loading…
Add table
Reference in a new issue