Since a while nginx 1.4.4 refuses to deliver webpages and always returns "403 Forbidden". I can't remember having changed anything before this problem occured, nevertheless I deleted /etc/nginx an reinstalled it. It's still not working.
/var/log/nginx/error.log
I set the permissions on /srv/www/htdocs to 777 for testing purposes, didn't help
As I've deleted /etc/nginx before reinstallin I'm using the default config, here it is: http://susepaste.org/75269286
This problem is driving me nuts, does anybody have an idea what's wrong?
/var/log/nginx/error.log
Code:
2014/03/02 22:46:14 [error] 3674#0: *16 "/srv/www/htdocs/index.html" is forbidden (13: Permission denied), client: xx.xx.xx.xx, server: localhost, request: "GET / HTTP/1.1", host: "xx.xx.xx.xx"
Code:
ls -l /srv/www/htdocs
insgesamt 8
-rwxrwxrwx 1 nginx nginx 537 20. Nov 18:05 50x.html
-rwxrwxrwx 1 nginx nginx 91 2. Mär 22:33 index.html
This problem is driving me nuts, does anybody have an idea what's wrong?