1.. _installation apache:
7.. sidebar:: public to the internet?
9 If your searx instance is public, stop here and first install :ref:`filtron
10 reverse proxy <filtron.sh>` and :ref:`result proxy morty <morty.sh>`, see
11 :ref:`installation scripts`.
23 .. group-tab:: Ubuntu / debian
27 sudo -H apt-get install libapache2-mod-uwsgi
30Add this configuration in the file ``/etc/apache2/apache2.conf``. To limit
31acces to your intranet replace ``Allow from all`` directive and replace
32``192.168.0.0/16`` with your subnet IP/class.
34.. _inranet apache site:
36Note that if your instance of searx is not at the root, you should change
37``<Location />`` by the location of your instance, like ``<Location /searx>``:
41 # CustomLog /dev/null combined
43 <IfModule mod_uwsgi.c>
47 Options FollowSymLinks Indexes
48 SetHandler uwsgi-handler
49 uWSGISocket /run/uwsgi/app/searx/socket
53 # Allow from fd00::/8 192.168.0.0/16 fe80::/10 127.0.0.0/8 ::1
60Enable apache mod_uwsgi and restart apache:
64 .. group-tab:: Ubuntu / debian
69 sudo -H systemctl restart apache2
74For better privacy you can disable Apache logs. Go back to
75``/etc/apache2/apache2.conf`` :ref:`[example] <inranet apache site>` and above
76``<Location />`` activate directive:
80 CustomLog /dev/null combined
86 .. group-tab:: Ubuntu / debian
90 sudo -H systemctl restart apache2
94 You can only disable logs for the whole (virtual) server not for a specific
keysesc to close
- j k
- move down, up
- enter
- open
- esc
- back, or up a level
- 1 2 3 4
- readme, files, commits, refs
- /
- filter
- y
- copy the clone command
- c
- compare the chosen commit with another (or shift-click both)
- ?
- show or hide this list