mirror of
https://github.com/HanXHX/ansible-nginx.git
synced 2026-04-09 12:42:10 +07:00
Secure files permission
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user