diff --git a/nginx.conf b/nginx.conf index 7108ee9..25f8813 100644 --- a/nginx.conf +++ b/nginx.conf @@ -13,6 +13,13 @@ server { gzip on; gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; + # Favicon handling + location = /favicon.ico { + try_files $uri /favicon.svg =200; + access_log off; + log_not_found off; + } + # Priority prefix location for uploads - proxies to Express backend container location ^~ /uploads/ { proxy_pass http://backend:3005/uploads/; diff --git a/public/favicon.ico b/public/favicon.ico new file mode 100644 index 0000000..6893eb1 --- /dev/null +++ b/public/favicon.ico @@ -0,0 +1 @@ + \ No newline at end of file