bundles/nginx: clean up unmanaged nginx vhosts

This commit is contained in:
Franzi 2020-08-30 11:36:48 +02:00
parent f334b93756
commit 77051c0a0e
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -3,6 +3,15 @@
# support wildcard certificates
assert node.has_bundle('letsencrypt'), 'nginx needs letsencrypt'
directories = {
'/etc/nginx/sites': {
'purge': True,
'triggers': {
'svc_systemd:nginx:restart',
},
},
}
files = {
'/etc/nginx/nginx.conf': {
'content_type': 'mako',