mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-01-18 00:34:29 -05:00
🗃️ Committing everything that changed 🗃️
rootfs/usr/local/etc/docker/init.d/03-tor-server.sh
This commit is contained in:
parent
570710c6c6
commit
cbcac26650
@ -299,14 +299,15 @@ 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
|
||||
# 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
|
||||
%include $CONF_DIR/conf.d/*.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user