change set_onion to enable_tor for consistency

This commit is contained in:
meaz 2022-12-22 09:58:43 +01:00
parent 3e8c971bbf
commit 579397f7c4
Signed by: meaz
GPG Key ID: CD7A47B2F1ED43B4
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
- name: "[NGINX] - Create vhosts"
set_fact:
set_onion: 'false'
enable_tor: 'false'
- name: "[NGINX] - Create vhosts"
template:

View File

@ -8,7 +8,7 @@
{% block server_info %}
## SERVER INFO
{% if item.onion is defined and set_onion == 'true' and onion_address | length > 0 %}
{% if item.onion is defined and enable_tor == 'true' and onion_address | length > 0 %}
server {
listen unix:/var/run/{{ item.name }}.sock;
server_name {{ onion_address.content }}.onion;