summaryrefslogtreecommitdiff
path: root/.config.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-04-13 11:34:28 +0200
committerMarkus Heiser <markus.heiser@darmarit.de>2020-04-13 11:34:28 +0200
commit99ff16c465ed4d3b98041bf308dfeb0918b535ab (patch)
tree0fe9838cd97b985d37eb9f12f29a9a9383d6d2cd /.config.sh
parent58d5da8b57c5aeab92f551e8d175be67537c351c (diff)
tooling box: added nginx + polished bash scripts and environment
- add installation method for nginx sites, morty and filtron - clean up PUBLIC_URL environment in and outside of containers - clean up comand lines - handle uWSGI quirks on fedora (emperor mode) - handle Python quirks on debian (there is no 'python' command anymore) - lib.sh: add die and die_caller functions - lxc_suite_install_info is now a function - lint: shellcheck Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
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 835bfecf..4eff5f4c 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