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
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
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