Browse Source

[users.sls] touch /etc/nginx/.htpasswd

tags/v0.55.0
Arthur Lutz 7 years ago
parent
commit
f3ef626ec4
No account linked to committer's email address
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      nginx/users.sls

+ 4
- 0
nginx/users.sls View File

pkg.installed: pkg.installed:
- name: {{ nginx.apache_utils }} - name: {{ nginx.apache_utils }}


touch /etc/nginx/.htpasswd:
cmd.run:
- creates: /etc/nginx/.htpasswd

make sure {{ htauth }} exists: make sure {{ htauth }} exists:
file.exists: file.exists:
- name: {{ htauth }} - name: {{ htauth }}

Loading…
Cancel
Save