summaryrefslogtreecommitdiffstats
path: root/nginx
diff options
context:
space:
mode:
Diffstat (limited to 'nginx')
-rw-r--r--nginx/base.sls6
1 files changed, 4 insertions, 2 deletions
diff --git a/nginx/base.sls b/nginx/base.sls
index d225e39..47f430a 100644
--- a/nginx/base.sls
+++ b/nginx/base.sls
@@ -32,8 +32,10 @@ nginx:
servers:
managed_opts:
require_in:
- - /etc/nginx/sites-available
- - /etc/nginx/sites-enabled
+ - file: nginx_server_available_dir
+ symlink_opts:
+ require_in:
+ - file: nginx_server_enabled_dir
dir_opts:
clean: 'on'