Description of problem:
/usr/share/nginx/html(/.*)? should have SELinux context httpd_sys_content_t by default.
Version-Release number of selected component (if applicable):
nginx-1.6.2-4.el7.x86_64
How reproducible:
unknown
Steps to Reproduce:
1. Install CentOS 7 and enable EPEL 7
2. yum -y install nginx
3. ls -aZ /usr/share/nginx/html/
Actual results:
Wrong context (I think it was usr_t, but lost my scrollback, sorry).
Expected results:
httpd_sys_content_t
Additional info:
Tried on CentOS as provided by DigitalOcean which has SELinux disabled by default. Enabled it and rebooted, restorecon'd the directory but to no avail.