gogs port
This commit is contained in:
parent
c82cb9a2e0
commit
e245e7ad2a
|
@ -6722,7 +6722,7 @@ quit" > $INSTALL_DIR/batch.sql
|
|||
fi
|
||||
if ! grep -q "hidden_service_gogs" /etc/tor/torrc; then
|
||||
echo 'HiddenServiceDir /var/lib/tor/hidden_service_gogs/' >> /etc/tor/torrc
|
||||
echo "HiddenServicePort ${GIT_ONION_HOSTNAME} 127.0.0.1:${GIT_ONION_HOSTNAME}" >> /etc/tor/torrc
|
||||
echo "HiddenServicePort 80 127.0.0.1:${GIT_ONION_PORT}" >> /etc/tor/torrc
|
||||
echo "HiddenServicePort 9418 127.0.0.1:9418" >> /etc/tor/torrc
|
||||
echo $'Added onion site for Gogs'
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue