fixed onion_address.content base64 decode issue
This commit is contained in:
parent
79448def24
commit
f1dca5629a
|
@ -11,7 +11,7 @@
|
|||
{% 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 | b64decode }}.onion;
|
||||
server_name {{ onion_address.content | b64decode | trim }};
|
||||
{% else %}
|
||||
server {
|
||||
server_name {% if item.name is string %}{{ item.name }}{% else %}{{ item.name | join(' ') }}{% endif %};
|
||||
|
|
Loading…
Reference in New Issue