From ae05c773ecf8d28e36d6e3fe13787befe40a79e7 Mon Sep 17 00:00:00 2001 From: rene Date: Fri, 18 Mar 2022 19:33:12 +0100 Subject: [PATCH] overlooked an appearance of {{ mastodon_host }} --- roles/mastodon/templates/mastodon.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/mastodon/templates/mastodon.conf.j2 b/roles/mastodon/templates/mastodon.conf.j2 index 19912c9..234534b 100644 --- a/roles/mastodon/templates/mastodon.conf.j2 +++ b/roles/mastodon/templates/mastodon.conf.j2 @@ -16,7 +16,7 @@ server { server { listen 443 ssl http2; listen [::]:443 ssl http2; - server_name {{ mastodon_host }}; + server_name {{ mastodon_host | default(ansible_fqdn) }}; ssl_protocols TLSv1.2; ssl_ciphers HIGH:!MEDIUM:!LOW:!aNULL:!NULL:!SHA;