fix selinux context from web root

This commit is contained in:
Timo Makinen 2019-05-22 19:45:32 +03:00
parent b31968dcf1
commit dce83410e4

View file

@ -17,6 +17,11 @@
- "/srv/web/{{ 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
template:
src: nginx.conf.j2