Package: nginx
Version: 1.1.2-1
Severity: normal
Tags: patch
by this line in default virtual host:
try_files $uri $uri/ /index.html;
the nginx try use index.html as fallback for not existing files, but if
this page does not exists too, the server go to cycle. The server shows 500
error page instead the 404 one.
the error log shows:
rewrite or internal redirection cycle while internal redirect to "/index.html"
This can help to solve it:
server {
...
location /index.html {
rewrite ^ /index.html break;
}
...
}
regards
--
Slavko
http://slavino.sk