Fix error 403 when using NGINX with SELinux

chcon -Rt httpd_sys_content_t /directory-location

 

Example:

chcon -Rt httpd_sys_content_t /var/www/your-domain.com/public_html

 

Top