diff options
author | Christian Pointner <equinox@spreadspace.org> | 2020-05-23 19:04:51 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2020-05-23 19:04:51 +0200 |
commit | f5e3a12f9616fa7d6e9b4d06675039e8104a7ce0 (patch) | |
tree | 2171969adb44d8e36bba8207bad943eac000c58a /roles/apps/collabora/code/templates/nginx-vhost.conf.j2 | |
parent | clean up sk-testvm (diff) |
collabora/code: config files are now managed by ansible
Diffstat (limited to 'roles/apps/collabora/code/templates/nginx-vhost.conf.j2')
-rw-r--r-- | roles/apps/collabora/code/templates/nginx-vhost.conf.j2 | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/roles/apps/collabora/code/templates/nginx-vhost.conf.j2 b/roles/apps/collabora/code/templates/nginx-vhost.conf.j2 index cec811f9..a14113f0 100644 --- a/roles/apps/collabora/code/templates/nginx-vhost.conf.j2 +++ b/roles/apps/collabora/code/templates/nginx-vhost.conf.j2 @@ -1,7 +1,7 @@ server { listen 80; listen [::]:80; - server_name {{ item.value.hostnames | join(' ') }}; + server_name {{ item.value.hostname }}; include snippets/acmetool.conf; @@ -13,12 +13,12 @@ server { server { listen 443 ssl http2; listen [::]:443 ssl http2; - server_name {{ item.value.hostnames | join(' ') }}; + server_name {{ item.value.hostname }}; include snippets/acmetool.conf; include snippets/tls.conf; - ssl_certificate /var/lib/acme/live/{{ item.value.hostnames[0] }}/fullchain; - ssl_certificate_key /var/lib/acme/live/{{ item.value.hostnames[0] }}/privkey; + ssl_certificate /var/lib/acme/live/{{ item.value.hostname }}/fullchain; + ssl_certificate_key /var/lib/acme/live/{{ item.value.hostname }}/privkey; include snippets/hsts.conf; |