lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From LongY <>
Subject Re: Nginx proxy for Solritas
Date Tue, 17 Mar 2015 02:29:17 GMT
Thanks to Erik and Shawn, I figured out the solution.

* place main.css in velocity folder into
* don't forget to change the permission of main.css by sudo chmod 755
* add main.css to the configuration file of Ngix:
server {
        listen 80 default_server;
        listen [::]:80 default_server ipv6only=on;
        index main.css;
        server_name localhost;
        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;
That will work.
Also /var/log/nginx/error.log is good for debugging.

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

View raw message