Add MIME type for ico, svg, ttf
Remove configuration duplication
Improve error messages and remove duplication
Improve error messages and remove duplication