add port to listen to as var
This commit is contained in:
parent
b17841eff6
commit
db98c54755
|
@ -71,7 +71,7 @@
|
||||||
{% for item in nginx_vhosts %}
|
{% for item in nginx_vhosts %}
|
||||||
{% if item.onion is defined and item.onion == 'true' %}
|
{% if item.onion is defined and item.onion == 'true' %}
|
||||||
HiddenServiceDir /var/lib/tor/{{ item.name }}/
|
HiddenServiceDir /var/lib/tor/{{ item.name }}/
|
||||||
HiddenServicePort 80 unix:/var/run/{{ item.name }}.sock
|
HiddenServicePort {{ item.listen }} unix:/var/run/{{ item.name }}.sock
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue