on master help sign in
update install docs on reverse proxy
2430baaNoemi Vanyi
docs/dev/install/installation.rst+3
@@ -171,6 +171,8 @@ Add this configuration in the server config file
171 location = /searx { rewrite ^ /searx/; }
171 location = /searx { rewrite ^ /searx/; }
172 location /searx {
172 location /searx {
173 try_files $uri @searx;
173 try_files $uri @searx;
174+ proxy_pass http://localhost:9999/;
175+ proxy_set_header X-Script-Name /searx;
174 }
176 }
175 location @searx {
177 location @searx {
176 uwsgi_param SCRIPT_NAME /searx;
178 uwsgi_param SCRIPT_NAME /searx;
@@ -179,6 +181,7 @@ Add this configuration in the server config file
179 uwsgi_pass unix:/run/uwsgi/app/searx/socket;
181 uwsgi_pass unix:/run/uwsgi/app/searx/socket;
180 }
182 }
181
183
184+
182Enable base\_url in searx/settings.yml
185Enable base\_url in searx/settings.yml
183
186
184::
187::