Re: [CentOS] Nginx and SELinux on CentOS 7

2020-01-01 Thread Nicolas Kovacs
Le 01/01/2020 à 13:54, Benson Muite a écrit : Have used Nginx on Fedora with SELinux. Perhaps first try putting your sites in the default document root, /usr/share/nginx/html After some experimenting, I found the answer. When I create /var/www manually, ls -Z shows me that it's labled var_t.

Re: [CentOS] Nginx and SELinux on CentOS 7

2020-01-01 Thread Benson Muite
On 1/1/20 2:00 PM, Nicolas Kovacs wrote: Hi, I'm currently fiddling with Nginx on CentOS 7. Eventually I want to use it instead of Apache on some servers. Apache works more or less out of the box with SELinux. My websites are all stored under /var/www, and ls -Z shows me that all files crea