Prevent rails' file server from serving index.html
You can prevent rails' file server from serving index.html, while continuing to serve other files from the public directory by changing the index_name
:
Visiting the root path /
will no longer serve public/index.html
if you define another route for /