Static: returning 404 when "index" is a non-regular file.
Static: returning 404 when "index" is a non-regular file.

Before this patch, if "index" was a file, but not a regular file
nor a directory, so it may have been for example a FIFO, Unit
returned 404.  But if "index" was a directory, Unit returned 301.

For consistency, this patch makes Unit return 404 for every
non-regular file, including directories.

nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit,nginx/unit