> For the complete documentation index, see [llms.txt](https://jack80342.gitbook.io/spring-boot/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://jack80342.gitbook.io/spring-boot/iv.-spring-boot-features/27.-developing-web-applications/27.1.-the-spring-web-mvc-framework/27.1.7.-custom-favicon.md).

# 27.1.7. 定制网站图标

Spring Boot会在已配置的静态内容位置和类路径的根目录下依次寻找`favicon.ico`文件。 如果文件存在，它会被自动用作应用的图标。
