Serve index.html files correctly.