Additional v3 onion conversions
This commit is contained in:
parent
f0814c1b45
commit
1cc92c9359
|
@ -649,6 +649,7 @@ function install_gogs {
|
|||
fi
|
||||
if ! grep -q "hidden_service_gogs" /etc/tor/torrc; then
|
||||
echo 'HiddenServiceDir /var/lib/tor/hidden_service_gogs/' >> /etc/tor/torrc
|
||||
echo 'HiddenServiceVersion 3' >> /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'
|
||||
|
|
|
@ -660,6 +660,7 @@ function install_keyserver {
|
|||
|
||||
if ! grep -q "hidden_service_sks" /etc/tor/torrc; then
|
||||
echo 'HiddenServiceDir /var/lib/tor/hidden_service_sks/' >> /etc/tor/torrc
|
||||
echo 'HiddenServiceVersion 3' >> /etc/tor/torrc
|
||||
echo "HiddenServicePort 11370 127.0.0.1:11370" >> /etc/tor/torrc
|
||||
echo "HiddenServicePort 11373 127.0.0.1:11371" >> /etc/tor/torrc
|
||||
echo "HiddenServicePort 11372 127.0.0.1:11372" >> /etc/tor/torrc
|
||||
|
|
Loading…
Reference in New Issue