summaryrefslogtreecommitdiffstats
path: root/roles/lacme/templates/etc/lacme
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:37:19 +0100
committerGuilhem Moulin <guilhem@fripost.org>2018-12-03 03:43:48 +0100
commit5ad9fc5e963b9a461f60799d7f185a9e2e13522f (patch)
tree8d98b0eaf066f86e8fb24be1ca148be1ec1f1845 /roles/lacme/templates/etc/lacme
parent259ad739c650aafd8dddf5afcd829632a6f88a80 (diff)
Define new host "calima" serving Nextcloud.
Diffstat (limited to 'roles/lacme/templates/etc/lacme')
-rw-r--r--roles/lacme/templates/etc/lacme/lacme-certs.conf.j29
1 files changed, 9 insertions, 0 deletions
diff --git a/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2 b/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2
index f7b255a..8550d0f 100644
--- a/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2
+++ b/roles/lacme/templates/etc/lacme/lacme-certs.conf.j2
@@ -60,4 +60,13 @@ subject = /O=Fripost/CN=git.fripost.org
notify = /bin/systemctl reload nginx
{% endif %}
+{% if 'nextcloud' in group_names %}
+[cloud]
+certificate-key = /etc/nginx/ssl/cloud.fripost.org.key
+certificate-chain = /etc/nginx/ssl/cloud.fripost.org.pem
+subject = /O=Fripost/CN=cloud.fripost.org
+subjectAltName = DNS:cloud.fripost.org,DNS:www.cloud.fripost.org
+notify = /bin/systemctl reload nginx
+{% endif %}
+
; vim:ft=dosini