Thanks for helping to debug the problem! Based on those messages I think the following should work:
- Code: Select all
semanage port -a -t http_port_t -p tcp 4080
setsebool -P httpd_read_user_content 1
It seams, that I have to change the context of the var dir ... Am I right?
I think the var directory is checked so that you can put up a "under maintenance" page whilst you modify/reconfigure the server, so you might be able to figure out a way of changing the context of the file/directory instead of using httpd_read_user_content as suggested.
Either way, if you could try it out and let me know that would be a great help, I'll add it to our docs. Also I've belately found something official from Nginx http://nginx.com/blog/nginx-se-linux-ch ... -rhel-6-6/