summaryrefslogtreecommitdiffstats
path: root/theos/certs/kyriasis_com.sls
blob: 68bb7ab1a9bc5fb9da372d8c3a320bb462496f5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
include:
  - nginx

kyriasis.com:
  acme.cert:
    - email: johannes@kyriasis.com
    - webroot: /srv/http/
    - keysize: 4096
    - renew: 30

    - watch_in:
      - service: nginx_service
    - 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: