change set_onion to enable_tor for consistency
This commit is contained in:
parent
3e8c971bbf
commit
579397f7c4
|
@ -2,7 +2,7 @@
|
|||
|
||||
- name: "[NGINX] - Create vhosts"
|
||||
set_fact:
|
||||
set_onion: 'false'
|
||||
enable_tor: 'false'
|
||||
|
||||
- name: "[NGINX] - Create vhosts"
|
||||
template:
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue