summaryrefslogtreecommitdiff
path: root/utils/templates
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-01-30 19:55:51 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-01-30 19:55:51 +0100
commit6274a54746b4444f8850aecea0cb0734c6bdc29c (patch)
tree7454d0d02902dfda7ea94b45ae84bc342c427aab /utils/templates
parent924bf6551794e5962688c1e2962dc0c94869e2f1 (diff)
utils/searx.sh & filtron.sh: misc changes from first tests (WIP)
Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
Diffstat (limited to 'utils/templates')
-rw-r--r--utils/templates/etc/apache2/sites-available/searx.conf:filtron14
1 files changed, 13 insertions, 1 deletions
diff --git a/utils/templates/etc/apache2/sites-available/searx.conf:filtron b/utils/templates/etc/apache2/sites-available/searx.conf:filtron
index d2f5431a7..f0914e9f9 100644
--- a/utils/templates/etc/apache2/sites-available/searx.conf:filtron
+++ b/utils/templates/etc/apache2/sites-available/searx.conf:filtron
@@ -1,3 +1,15 @@
# -*- coding: utf-8; mode: apache -*-
-ProxyPass "/searx" "http://127.0.0.1:4004/"
+<Location ${FILTRON_URL_PATH} >
+
+ Require all granted
+ Allow from all
+
+ Order deny,allow
+ Deny from all
+ #Allow from fd00::/8 192.168.0.0/16 fe80::/10 127.0.0.0/8 ::1
+
+ ProxyPass "http://127.0.0.1:4004"
+ RequestHeader set "X-Script-Name" "${FILTRON_URL_PATH}"
+
+</Location>