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

Unverified Commit 3e5a3ee4 authored by Robin Schneider's avatar Robin Schneider
Browse files

Let Nginx deliver static files directory in all examples

parent 08833729
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -154,7 +154,10 @@ content:
    server {
        listen 80;
        server_name searx.example.com;
        root /usr/local/searx;
        root /usr/local/searx/searx;

        location /static {
        }

        location / {
                include uwsgi_params;
@@ -199,6 +202,10 @@ in case of single-user or low-traffic instances.)

.. code:: nginx

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

    location /searx {
        proxy_pass http://127.0.0.1:8888;
        proxy_set_header Host $host;