summaryrefslogtreecommitdiffstats
path: root/theos/certs/kyriasis_com.sls
diff options
context:
space:
mode:
Diffstat (limited to 'theos/certs/kyriasis_com.sls')
-rw-r--r--theos/certs/kyriasis_com.sls14
1 files changed, 14 insertions, 0 deletions
diff --git a/theos/certs/kyriasis_com.sls b/theos/certs/kyriasis_com.sls
index 6ce0fe9..68bb7ab 100644
--- a/theos/certs/kyriasis_com.sls
+++ b/theos/certs/kyriasis_com.sls
@@ -13,4 +13,18 @@ kyriasis.com:
- require_in:
- service: nginx_service
+/etc/synapse/ssl/fullchain.pem:
+ file.managed:
+ - source: /etc/letsencrypt/live/kyriasis.com/fullchain.pem
+ - user: synapse
+ - group: synapse
+ - mode: 600
+
+/etc/synapse/ssl/privkey.pem:
+ file.managed:
+ - source: /etc/letsencrypt/live/kyriasis.com/privkey.pem
+ - user: synapse
+ - group: synapse
+ - mode: 600
+
# vim: set ft=yaml et: