summaryrefslogtreecommitdiff
path: root/.config.sh
diff options
context:
space:
mode:
Diffstat (limited to '.config.sh')
-rw-r--r--.config.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config.sh b/.config.sh
index 835bfecf4..4eff5f4c6 100644
--- a/.config.sh
+++ b/.config.sh
@@ -18,7 +18,8 @@
PUBLIC_URL="${SEARX_URL}"
if [[ ${PUBLIC_URL} == "https://searx.me" ]]; then
- PUBLIC_URL=
+ # hint: Linux containers do not have DNS entries, lets use IPs
+ PUBLIC_URL="http://$(primary_ip)/searx"
fi
# searx.sh