bundles/nginx: clean up unmanaged nginx vhosts
This commit is contained in:
parent
f334b93756
commit
77051c0a0e
1 changed files with 9 additions and 0 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue