bundles/nginx: ensure we're doing letsencrypt, since we're enforcing ssl

This commit is contained in:
Franzi 2020-06-01 11:16:22 +02:00
parent 54467af6f5
commit 3523edbcb4
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 9 additions and 0 deletions

View file

@ -1,3 +1,8 @@
# TODO rework this to support specifying a certificate instead of
# relying on letsencrypt for the specific domain (for example to
# support wildcard certificates
assert node.has_bundle('letsencrypt'), 'nginx needs letsencrypt'
files = {
'/etc/nginx/nginx.conf': {
'content_type': 'mako',