mirror of
https://github.com/aljazceru/cyphernode.git
synced 2026-01-31 18:24:26 +01:00
Better Tor
This commit is contained in:
@@ -16,6 +16,13 @@ rgb=<%= lightning_nodecolor %>
|
||||
|
||||
addr=0.0.0.0:9735
|
||||
|
||||
<% if ( features.indexOf('tor') !== -1 ) { %>
|
||||
#tor
|
||||
proxy=tor:9050
|
||||
#always-use-proxy=true
|
||||
#disable-dns
|
||||
<% } else { %>
|
||||
<% if( locals.lightning_external_ip ) { %>
|
||||
announce-addr=<%= locals.lightning_external_ip %>:9735
|
||||
<% } %>
|
||||
<% } %>
|
||||
|
||||
@@ -3,3 +3,4 @@ HiddenServiceVersion 3
|
||||
HiddenServicePort 80 traefik:80
|
||||
HiddenServicePort 443 traefik:443
|
||||
SocksPort 0.0.0.0:9050
|
||||
ExitPolicy reject *:* # no exits allowed
|
||||
|
||||
Reference in New Issue
Block a user