summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--nginx/base.sls8
1 files changed, 8 insertions, 0 deletions
diff --git a/nginx/base.sls b/nginx/base.sls
index 10f39b3..d225e39 100644
--- a/nginx/base.sls
+++ b/nginx/base.sls
@@ -29,4 +29,12 @@ nginx:
- /etc/nginx/conf.d/*.conf
- /etc/nginx/sites-enabled/*
+ servers:
+ managed_opts:
+ require_in:
+ - /etc/nginx/sites-available
+ - /etc/nginx/sites-enabled
+ dir_opts:
+ clean: 'on'
+
# vim: ft=yaml et: