on master help sign in
update install docs on reverse proxy
commit2430baa1fd6e4ecba4bc72a8e71c49a38b424216 authorNoemi Vanyi <sitbackandwait@gmail.com> dateThu 21 Apr 2016, 13:16 (11 years ago) parent9c56154
1 file changed+3
docs/dev/install/installation.rst+3
docs/dev/install/installation.rst+3
@@ -171,6 +171,8 @@ Add this configuration in the server config file
171171 location = /searx { rewrite ^ /searx/; }
172172 location /searx {
173173 try_files $uri @searx;
174+ proxy_pass http://localhost:9999/;
175+ proxy_set_header X-Script-Name /searx;
174176 }
175177 location @searx {
176178 uwsgi_param SCRIPT_NAME /searx;
@@ -179,6 +181,7 @@ Add this configuration in the server config file
179181 uwsgi_pass unix:/run/uwsgi/app/searx/socket;
180182 }
181183
184+
182185Enable base\_url in searx/settings.yml
183186
184187::