nginx doesn't response any request

Seguridad Informática principe at pprincipe.cult.cu
Tue May 8 13:12:44 UTC 2012


rock, if you are using RedHat EL and when nginx is listening on port 80
there is no problem, my first idea is that SELinux is denying that
access, try with this:

grep nginx /var/log/audit/audit.log | audit2allow -m nginx > nginx.te

and check if there are rules granting access to nginx .. if that's true,
you can fix it with this:

grep nginx /var/log/audit/audit.log | audit2allow -M nginx
semodule -i nginx.pp

then restart nginx and check if it is working.. or you can check if it
is trying to 


-- 
      Anielkis



More information about the nginx mailing list