diff options
| author | Markus Heiser <markus.heiser@darmarit.de> | 2020-01-30 19:55:51 +0100 |
|---|---|---|
| committer | Markus Heiser <markus.heiser@darmarit.de> | 2020-01-30 19:55:51 +0100 |
| commit | 6274a54746b4444f8850aecea0cb0734c6bdc29c (patch) | |
| tree | 7454d0d02902dfda7ea94b45ae84bc342c427aab /utils/templates/etc/apache2 | |
| parent | 924bf6551794e5962688c1e2962dc0c94869e2f1 (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/etc/apache2')
| -rw-r--r-- | utils/templates/etc/apache2/sites-available/searx.conf:filtron | 14 |
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> |