Secure files permission

This commit is contained in:
Emilien Mantel
2016-11-25 11:33:20 +01:00
parent 5b0977567c
commit 8ccc9f521f
4 changed files with 13 additions and 4 deletions

View File

@@ -23,9 +23,15 @@ nginx_upstream_server_params:
# min_version: '1.5.12'
nginx_dirs:
- "{{ nginx_htpasswd_dir }}"
- "{{ nginx_ssl_dir }}"
- "{{ nginx_helper_dir }}"
- dir: "{{ nginx_htpasswd_dir }}"
mode: "0750"
owner: "{{ nginx_user }}"
- dir: "{{ nginx_ssl_dir }}"
mode: "0750"
owner: "root"
- dir: "{{ nginx_helper_dir }}"
mode: "0755"
owner: "root"
nginx_templates_no_dir:
- '_backuppc'