blob: 2d1b83afed8a46c8a5daa560f9d7d52ca5564f7f (
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
31
32
33
34
35
36
37
38
39
40
|
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
prosody-access-kyriasis.com-cert:
acl.present:
- name: /etc/letsencrypt/archive/kyriasis.com/
- acl_type: user
- acl_name: prosody
- perms: r-x
- recurse: True
- require_in:
- acme: kyriasis.com
# vim: set ft=yaml et:
|