diff --git a/nginx.conf b/nginx.conf index 703198e76..e1c3e4e47 100644 --- a/nginx.conf +++ b/nginx.conf @@ -43,7 +43,7 @@ server { error_log /var/log/nginx/error.log; # Static file handling with proper MIME types and consistent caching - location ~* ^/static/(.*)$ { + location ~* \.(jpg|jpeg|png|gif|ico|svg|webp|woff|woff2|ttf|eot)$ { proxy_pass http://127.0.0.1:3000; # Include MIME types