On 3/16/2015 2:42 PM, LongY wrote: > Thank you for the reply. > > I also thought the relevant resources (CSS, images, JavaScript) need to > be accessible for Nginx. > > I copied the velocity folder to solr-webapp/webapp folder. It didn't work. > > So how to allow /browse resource accessible by the Nginx rule?
The /browse handler causes your browser to make requests directly to Solr on handlers other than /browse. You must figure out what those requests are and allow them in the proxy configuration. I do not know whether they are relative URLs ... I would not be terribly surprised to learn that they have port 8983 in them rather than the port 80 on your proxy. Hopefully that's not the case, or you'll really have problems making it work on port 80. I've never spent any real time with the /browse handler. Requiring direct access to Solr is completely unacceptable for us. Thanks, Shawn