From a9fc4885f2d4ab3fba8fd9fbaa0386090250bd11 Mon Sep 17 00:00:00 2001 From: Markus Heiser Date: Mon, 11 Oct 2021 19:59:34 +0200 Subject: [brand] SearXNG - bash env SEARXNG_URL Signed-off-by: Markus Heiser --- utils/templates/etc/httpd/sites-available/searx.conf:uwsgi | 4 ++-- utils/templates/etc/nginx/default.apps-available/searx.conf:filtron | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'utils/templates') diff --git a/utils/templates/etc/httpd/sites-available/searx.conf:uwsgi b/utils/templates/etc/httpd/sites-available/searx.conf:uwsgi index ef702de3a..aabc125ae 100644 --- a/utils/templates/etc/httpd/sites-available/searx.conf:uwsgi +++ b/utils/templates/etc/httpd/sites-available/searx.conf:uwsgi @@ -5,10 +5,10 @@ LoadModule proxy_module ${APACHE_MODULES}/mod_proxy.so LoadModule proxy_uwsgi_module ${APACHE_MODULES}/mod_proxy_uwsgi.so # LoadModule setenvif_module ${APACHE_MODULES}/mod_setenvif.so -# SetEnvIf Request_URI "${SEARX_URL_PATH}" dontlog +# SetEnvIf Request_URI "${SEARXNG_URL_PATH}" dontlog # CustomLog /dev/null combined env=dontlog - + SecRuleEngine Off diff --git a/utils/templates/etc/nginx/default.apps-available/searx.conf:filtron b/utils/templates/etc/nginx/default.apps-available/searx.conf:filtron index a89aa38b3..e25461c47 100644 --- a/utils/templates/etc/nginx/default.apps-available/searx.conf:filtron +++ b/utils/templates/etc/nginx/default.apps-available/searx.conf:filtron @@ -1,6 +1,6 @@ # https://example.org/searx -location ${SEARX_URL_PATH} { +location ${SEARXNG_URL_PATH} { proxy_pass http://127.0.0.1:4004/; proxy_set_header Host \$host; @@ -8,9 +8,9 @@ location ${SEARX_URL_PATH} { proxy_set_header X-Real-IP \$remote_addr; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Scheme \$scheme; - proxy_set_header X-Script-Name ${SEARX_URL_PATH}; + proxy_set_header X-Script-Name ${SEARXNG_URL_PATH}; } -location ${SEARX_URL_PATH}/static/ { +location ${SEARXNG_URL_PATH}/static/ { alias ${SEARX_SRC}/searx/static/; } -- cgit v1.2.3-54-g00ecf