- Obtain the list of IP addresses you want to allow access to /solr.
- Format the IP addresses as a comma separated list of CIDR blocks, i.e. 192.168.0.0/16,10.0.0.0/16. To allow access to everyone use 0.0.0.0/0.
-
Generate a base64 encoded htpasswd formatted
string using the following command, where solradmin is the
username and somepassword is the password:
echo -n "$(htpasswd -nbm solradmin somepassword)" | base64