From d171fcd56ea0444598c6ae6d6d089dd2488bd64d Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Tue, 21 Jan 2020 18:38:57 +0100 Subject: utils/searx.sh: add apache site searx.conf:uwsgi Signed-off-by: Markus Heiser --- .../etc/apache2/sites-available/searx.conf:uwsgi | 25 ++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 utils/templates/etc/apache2/sites-available/searx.conf:uwsgi (limited to 'utils/templates') diff --git a/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi b/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi new file mode 100644 index 000000000..4147e8520 --- /dev/null +++ b/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi @@ -0,0 +1,25 @@ +# -*- coding: utf-8; mode: apache -*- + + + + # SetEnvIf Request_URI "${SEARX_APACHE_URL}" dontlog + # CustomLog /dev/null combined env=dontlog + + + + + SecRuleEngine Off + + + Options FollowSymLinks Indexes + SetHandler uwsgi-handler + uWSGISocket ${SEARX_UWSGI_SOCKET} + + Order deny,allow + Deny from all + # Allow from fd00::/8 192.168.0.0/16 fe80::/10 127.0.0.0/8 ::1 + Allow from all + + + + -- cgit v1.2.3