@@ -15,7 +15,8 @@
1515# Compare your settings here with file .config.mk used by the Makefile targets.
1616
1717# The public URL of the searx instance: PUBLIC_URL="https://mydomain.xy/searx"
18−PUBLIC_URL="${PUBLIC_URL:-http://$(uname -n)/searx}"
18+# The default is taken from the Makefile environment (SEARX_URL).
19+PUBLIC_URL="${SEARX_URL:-http://$(uname -n)/searx}"
1920PUBLIC_HOST="${PUBLIC_HOST:-$(echo "$PUBLIC_URL" | sed -e 's/[^/]*\/\/\([^@]*@\)\?\([^:/]*\).*/\2/')}"
2021
2122# searx.sh
@@ -23,9 +24,10 @@ PUBLIC_HOST="${PUBLIC_HOST:-$(echo "$PUBLIC_URL" | sed -e 's/[^/]*\/\/\([^@]*@\)
2324
2425SEARX_INTERNAL_URL="${SEARX_INTERNAL_URL:-127.0.0.1:8888}"
2526
26−# Only change, if you maintain a searx brand in your searx fork
27−SEARX_DOCS_URL="${SEARX_DOCS_URL:-https://asciimoo.github.io/searx}"
28−SEARX_GIT_URL="${SEARX_GIT_URL:-https://github.com/asciimoo/searx.git}"
27+# Only change, if you maintain a searx brand in your searx fork. The default is
28+# taken from the Makefile environment (DOCS_URL, GIT_URL).
29+SEARX_DOCS_URL="${DOCS_URL:-https://asciimoo.github.io/searx}"
30+SEARX_GIT_URL="${GIT_URL:-https://github.com/asciimoo/searx.git}"
2931SEARX_GIT_BRANCH="${SEARX_GIT_BRANCH:-master}"
3032
3133# filtron.sh