If I had not even seen it, I wouldn't believe it.
Since this morning, my nginx gives me "403 Permission denied".
The logs just say something like.
2014/08/01 21:53:58 [error] 582#0: *1 "/srv/http/example/index.html" is forbidden (13: Permission denied), client: 192.168.2.24, server: www.example.com request: "GET / HTTP/1.1", host: "umleitung-rvb.de"
So I went into my /srv/http/ and did $this->bbcode_second_pass_code('', 'sudo chown http:http -R . && sudo chmod 770 -R .'). Still same error.
Watched wether nginx runs as http user. It did.
I even enabled bash for http user but even with it I didn't get access.
The line out of my /etc/passwd:
$this->bbcode_second_pass_code('', 'http:x:5003:5003::/srv/http:/bin/bash')
... and directory permissions for /srv/http.
$this->bbcode_second_pass_code('', '
drwxrwxrwx 2 http http 4096 1. Aug 21:43 .
drwxrwx--- 5 maurice maurice 4096 1. Aug 21:35 ..
drwxrwx--- 2 http http 4096 1. Aug 22:00 umleitung
')
UID and GID are correct.