diff --git a/nginx.conf b/nginx.conf index 30efa6c..2a80c6f 100644 --- a/nginx.conf +++ b/nginx.conf @@ -26,6 +26,15 @@ server { try_files $uri =404; } + # Brand favicon SVG for browser tabs & Coolify Canvas + location = /favicon.ico { + types { } + default_type image/svg+xml; + expires 7d; + add_header Cache-Control "public, max-age=86400" always; + try_files /bimi-logo.svg =404; + } + # Cache other static assets location ~* \.(css|js|woff2?|ttf|svg|png|jpg|jpeg|ico|gif|webp)$ { expires 7d;