mirror of
https://github.com/cmehay/docker-tor-hidden-service.git
synced 2025-05-14 05:52:50 +00:00
13 lines
310 B
Text
13 lines
310 B
Text
{% for service, conf in setup.items() %}
|
|
HiddenServiceDir /var/lib/tor/hidden_service/{{service}}
|
|
{% for ports in conf['ports'] %}
|
|
# PORT {{service}} {{ports[0]}}
|
|
HiddenServicePort {{ports[0]}} {{conf['ip']}}:{{ports[1]}}
|
|
{% endfor %}
|
|
{% endfor %}
|
|
|
|
{% if 'RELAY' in env %}
|
|
ORPort 9001
|
|
{% endif %}
|
|
|
|
SocksPort 0
|