Re: nginx ignoring config file when started via systemd

2015-12-08 Thread theheadsage
Hi mex, It was installed via the RHEL 7 repo. I've managed to solve the issue, and so for anyone else experiencing this odd behavour the solution is to check the SELINUX file context. My config was in a file that had "unconfined_u:object_r:var_t:s0" and it needed "unconfined_u:object_r:httpd_con

nginx ignoring config file when started via systemd

2015-12-07 Thread theheadsage
Hi Guys, Got a somewhat interesting bug with nginx, which is where my config is being ignored by nginx when it's started via systemd. Here's the config: server { listen 80 default_server; listen [::]:80 default_server; server_name _; location /no