fix: redirect favicon.ico to favicon.png in nginx
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
309f250d47
commit
74a4f41902
@@ -3,6 +3,10 @@ server {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
|
||||
location = /favicon.ico {
|
||||
rewrite ^ /favicon.png permanent;
|
||||
}
|
||||
|
||||
# Flutter Web SPA — all routes go to index.html
|
||||
location / {
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
||||
Reference in New Issue
Block a user