Fixed request finalization in ngx_http_index_handler().
Fixed request finalization in ngx_http_index_handler().

Returning 500 instead of NGX_ERROR is preferable here because
header has not yet been sent to the client.

hy0kl/nginx,hy0kl/nginx,hy0kl/nginx