diff --git a/bundles/nginx/items.py b/bundles/nginx/items.py index 694ad61..a14fcb2 100644 --- a/bundles/nginx/items.py +++ b/bundles/nginx/items.py @@ -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',