fix selinux context from web root
This commit is contained in:
parent
b31968dcf1
commit
dce83410e4
1 changed files with 5 additions and 0 deletions
|
@ -17,6 +17,11 @@
|
||||||
- "/srv/web/{{ inventory_hostname }}"
|
- "/srv/web/{{ inventory_hostname }}"
|
||||||
- "/etc/nginx/conf.d/{{ inventory_hostname }}"
|
- "/etc/nginx/conf.d/{{ inventory_hostname }}"
|
||||||
|
|
||||||
|
- name: fix selinux contexts from data directory
|
||||||
|
sefcontext:
|
||||||
|
path: /srv/web(/.*)?
|
||||||
|
setype: httpd_sys_content_t
|
||||||
|
|
||||||
- name: create nginx base config
|
- name: create nginx base config
|
||||||
template:
|
template:
|
||||||
src: nginx.conf.j2
|
src: nginx.conf.j2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue