set index.html as the default file
redirect /public to the public folder