🗃️ Committing everything that changed 🗃️
All checks were successful
release-tag / release-image (push) Successful in 4m42s

rootfs/usr/local/etc/docker/init.d/01-tor-bridge.sh
rootfs/usr/local/etc/docker/init.d/02-tor-relay.sh
rootfs/usr/local/etc/docker/init.d/03-tor-server.sh
rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
rootfs/usr/share/httpd/default/index.html
This commit is contained in:
casjay
2025-06-12 11:57:45 -04:00
parent 727a4c67d7
commit fb27515b61
5 changed files with 12 additions and 19 deletions

View File

@@ -303,14 +303,6 @@ HiddenServicePort 80 127.0.0.1:80
EOF
fi
# if [ -n "$TOR_HIDDEN_SERVERS" ]; then
# for hidden_server in $TOR_HIDDEN_SERVERS: do
# name="$(echo "$hidden_server"|awk -F ':' '{print $1}')"
# port="$(echo "$hidden_server"|awk -F ':' '{print $2}')"
# host="$(echo "$hidden_server"|awk -F ':' '{print $3":"$4}')"
# echo ""
# done
# fi
cat <<EOF >>"$CONF_DIR/server.conf"
##### include configurations
@@ -364,7 +356,7 @@ __post_execute() {
if pgrep unbound >/dev/null 2>&1; then
break
else
sleep 30
sleep 10
fi
done
# show message
@@ -373,7 +365,7 @@ __post_execute() {
WWW_ROOT_DIR="/data/htdocs/www"
fi
if [ -d "$DATA_DIR/services" ]; then
echo "Begin current hidden services"
echo "Begin current hidden services"htdocs
[ -f "$WWW_ROOT_DIR/hostnames.html" ] && rm -f "$WWW_ROOT_DIR/hostnames.html"
for host in "$DATA_DIR/services"/*/hostname; do
d="$(dirname -- $host)"