Files
onion/torrc.tmpl
vaznasty c03384df72
All checks were successful
continuous-integration/drone/tag Build is passing
create onion recipe
2026-01-13 00:44:00 -05:00

17 lines
467 B
Cheetah

RunAsDaemon 0
# If there's a use case to enable client functionality we can put this behind a config
SocksPort 0
ControlPort 127.0.0.1:9051
CookieAuthentication 1
HiddenServiceDir /var/lib/tor/traefik
HiddenServicePort {{ env "ONION_PORT" }} {{ env "TRAEFIK_SERVICE" }}:{{ env "TRAEFIK_PORT" }}
{{ if eq (env "NON_ANONYMOUS_MODE") "1" -}}
HiddenServiceNonAnonymousMode 1
{{ end -}}
{{ if eq (env "SINGLE_HOP_MODE") "1" -}}
HiddenServiceSingleHopMode 1
{{ end -}}