summaryrefslogtreecommitdiff
path: root/utils/templates/etc
diff options
context:
space:
mode:
Diffstat (limited to 'utils/templates/etc')
-rw-r--r--utils/templates/etc/apache2/sites-available/searx.conf:uwsgi4
-rw-r--r--utils/templates/etc/uwsgi/apps-available/searx.ini2
2 files changed, 3 insertions, 3 deletions
diff --git a/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi b/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi
index 4147e8520..51cbdf41f 100644
--- a/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi
+++ b/utils/templates/etc/apache2/sites-available/searx.conf:uwsgi
@@ -2,10 +2,10 @@
<IfModule mod_uwsgi.c>
- # SetEnvIf Request_URI "${SEARX_APACHE_URL}" dontlog
+ # SetEnvIf Request_URI "${SEARX_URL_PATH}" dontlog
# CustomLog /dev/null combined env=dontlog
- <Location ${SEARX_APACHE_URL}>
+ <Location ${SEARX_URL_PATH}>
<IfModule mod_security2.c>
SecRuleEngine Off
diff --git a/utils/templates/etc/uwsgi/apps-available/searx.ini b/utils/templates/etc/uwsgi/apps-available/searx.ini
index d3893b3ad..cff47f896 100644
--- a/utils/templates/etc/uwsgi/apps-available/searx.ini
+++ b/utils/templates/etc/uwsgi/apps-available/searx.ini
@@ -59,4 +59,4 @@ pythonpath = ${SEARX_SRC}
# https://uwsgi-docs.readthedocs.io/en/latest/Options.html#plugin-http
# Native HTTP support: https://uwsgi-docs.readthedocs.io/en/latest/HTTP.html
-http = ${SEARX_URL}
+http = ${SEARX_INTERNAL_URL}