This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
salt
/
nginx-formula
forked from
ExternalMirrors/nginx-formula
Watch
1
Star
0
Fork
0
Code
Releases
0
Activity
Browse Source
[users] use {{ htauth }} variable
master
Arthur Lutz
6 years ago
parent
f3ef626ec4
commit
78ddf90f5b
No account linked to committer's email address
1 changed files
with
2 additions
and
2 deletions
Split View
Show Diff Stats
+2
-2
nginx/users.sls
+ 2
- 2
nginx/users.sls
View File
@@ -5,9 +5,9 @@ htpasswd:
pkg.installed:
- name: {{ nginx.apache_utils }}
touch
/etc/nginx/.htpasswd
:
touch
{{ htauth }}
:
cmd.run:
- creates:
/etc/nginx/.htpasswd
- creates:
{{ htauth }}
make sure {{ htauth }} exists:
file.exists:
Write
Preview
Loading…
Cancel
Save