lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LongY <>
Subject Nginx proxy for Solritas
Date Mon, 16 Mar 2015 19:39:36 GMT
Dear Community Members,

I have searched over the forum and googled a lot, still didn't find the
solution. Finally got me here for help.
I am implementing a Nginx reverse proxy for Solritas
(VelocityResponseWriter) of the example included in Solr.
. Nginx listens on port 80, and solr runs on port 8983. This is my Nginx
configuration file (It only permits localhost
to access the browse request handler).

*location ~* /solr/\w+/browse {
               proxy_pass          http://localhost:8983;

                deny    all;

                proxy_set_header X-Real-IP $remote_addr;
                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
                proxy_set_header Host $http_host;

when I input http://localhost/solr/collection1/browse in the browser address
 The output I got is this. 
The supposed output should be like this 

I tested the Admin page with this Nginx configuration file with some minor
modifications, it worked well,
but when used in velocity templates, it did not render the output properly.
Any input is welcome.
Thank you.

View this message in context:
Sent from the Solr - User mailing list archive at

View raw message