fix issue with onion address

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

View File

@ -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 }}.onion;
server_name {{ onion_address.content | b64decode }}.onion;
{% else %}
server {
server_name {% if item.name is string %}{{ item.name }}{% else %}{{ item.name | join(' ') }}{% endif %};