fixed support for serving dir index when specified via config.server.index