After exposing the Solr endpoint with a reverse proxy, it’s important to note that it also exposes the Solr admin panel to the end-user. This is not desired.
- Solr’s admin panel becomes exposed from the reverse proxy.
- Perform a redirect to website.com’s homepage.
- RewriteRule directive, mod_rewrite – Apache HTTP Server.
RewriteRule ^/solr/$ / [R=301,L,DPI]