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

Re: nginx ignoring config file when started via systemd

2015-12-07 Thread mex
hi daniel, hiw did you installed nginx, manually (self-compiled) or through your distratos repo? can you provide the nginx -V - output? usually /etc/nginx/nginx.conf is the default-config, if not given; nginx -V will tell what defaults arre used in your config. cheers, mex Posted at Nginx

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