on master help sign in
Simply Nginx example by using alias directive for subdirectory URL
0883372Robin Schneider
docs/admin/installation.rst+1−4
@@ -183,11 +183,8 @@ Add this configuration in the server config file
183
183
184.. code:: nginx
184.. code:: nginx
185
185
186− location = /searx {
187− rewrite ^ /searx/;
188− }
189−
190 location /searx/static {
186 location /searx/static {
187+ alias /usr/local/searx/searx/static;
191 }
188 }
192
189
193 location /searx {
190 location /searx {