Fix server redirect to index.html