Nginx: file permissions
This commit is contained in:
parent
1ed948d9e8
commit
3c65bce95e
|
@ -17,12 +17,18 @@
|
||||||
tags:
|
tags:
|
||||||
- nginx
|
- nginx
|
||||||
|
|
||||||
|
# TODO: verify that those permisisons are correct :
|
||||||
|
# not too strict for private_ipaddr_whitelist
|
||||||
|
# and not too loose for private_htpasswd
|
||||||
|
|
||||||
- name: Copy snippets
|
- name: Copy snippets
|
||||||
copy:
|
copy:
|
||||||
src: nginx/snippets/
|
src: nginx/snippets/
|
||||||
dest: /etc/nginx/snippets/
|
dest: /etc/nginx/snippets/
|
||||||
directory_mode: 0644
|
owner: www-data
|
||||||
mode: 0644
|
group: www-data
|
||||||
|
directory_mode: 0640
|
||||||
|
mode: 0640
|
||||||
# force: yes
|
# force: yes
|
||||||
notify: reload nginx
|
notify: reload nginx
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Reference in a new issue