diff --git a/salt/nginx/init.sls b/salt/nginx/init.sls index 5c165df19..3551c2920 100644 --- a/salt/nginx/init.sls +++ b/salt/nginx/init.sls @@ -10,18 +10,11 @@ include: # Drop the correct nginx config based on role nginxconfdir: file.directory: - - name: /opt/so/conf/nginx/html + - name: /opt/so/conf/nginx - user: 939 - group: 939 - makedirs: True -nginxhtml: - file.recurse: - - name: /opt/so/conf/nginx/html - - source: salt://nginx/html/ - - user: 939 - - group: 939 - nginxconf: file.managed: - name: /opt/so/conf/nginx/nginx.conf