add port to listen to as var

This commit is contained in:
meaz 2022-12-22 10:08:01 +01:00
parent b17841eff6
commit db98c54755
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@
{% for item in nginx_vhosts %}
{% if item.onion is defined and item.onion == 'true' %}
HiddenServiceDir /var/lib/tor/{{ item.name }}/
HiddenServicePort 80 unix:/var/run/{{ item.name }}.sock
HiddenServicePort {{ item.listen }} unix:/var/run/{{ item.name }}.sock
{% endif %}
{% endfor %}