From 420ceb49b53a8fa9d8ba8443e42e50cd7bd7cea9 Mon Sep 17 00:00:00 2001 From: Philip Wittamore Date: Sun, 12 Jul 2026 11:08:50 +0200 Subject: update --- articles/2023/searxng-on-my-laptop.html | 59 +++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100755 articles/2023/searxng-on-my-laptop.html (limited to 'articles/2023/searxng-on-my-laptop.html') diff --git a/articles/2023/searxng-on-my-laptop.html b/articles/2023/searxng-on-my-laptop.html new file mode 100755 index 0000000..f566d65 --- /dev/null +++ b/articles/2023/searxng-on-my-laptop.html @@ -0,0 +1,59 @@ + + + + + + + Bloggings + + +
+

Bloggings

+ Back + +
+ +
+
+

SearxNG on my laptop

+

05-11-2023

+

To keep my searches private, I've installed SearxNG on the T430.

+

Here's how I did it: My OS is Arch linux.

+
+$ cd ~/Downloads 
+$ git clone https://github.com/searxng/searxng.git searxng 
+$ cd searxng sudo -H ./utils/searxng.sh install all 
+
+

+ I use Nginx as a web server on my laptop, so I added the following in + /etc/nginx/sites-available/localhost +

+
+location /searxng {
+  uwsgi_pass unix:///usr/local/searxng/run/socket;
+  include uwsgi_params;
+  uwsgi_param    HTTP_HOST             $host;
+  uwsgi_param    HTTP_CONNECTION       $http_connection;
+
+  # see flaskfix.py
+  uwsgi_param    HTTP_X_SCHEME         $scheme;
+  uwsgi_param    HTTP_X_SCRIPT_NAME    /searxng;
+  # see limiter.py 
+  uwsgi_param    HTTP_X_REAL_IP      $remote_addr;
+  uwsgi_param    HTTP_X_FORWARDED_FOR  $proxy_add_x_forwarded_for;
+}
+
+

Navigate to localhost/searxng and there's our search engine.

+

+ In order to use it as the default search engine in Firefox, right click on + the url and select searxng as a search engine. +

+

Then in settings set searxng as the default search engine.

+ +
+
+ + -- cgit v1.3.1