Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Unverified Commit 08833729 authored by Robin Schneider's avatar Robin Schneider
Browse files

Simply Nginx example by using alias directive for subdirectory URL

We explicitly specific the static directory here using alias to allow to
host from a other subdirectory than "searx" which just so happens to
match the source code directory.
parent a1d9c819
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -183,11 +183,8 @@ Add this configuration in the server config file

.. code:: nginx

    location = /searx {
            rewrite ^ /searx/;
    }

    location /searx/static {
            alias /usr/local/searx/searx/static;
    }

    location /searx {