This sounds like an incorrect Nginx configuration.
What comes to my mind in this regard: Make sure that you provide information about the MIME types in your Nginx configuration. This is usually done by including the following file.
include /etc/nginx/mime.types
But without the NGINX configuration, I don’t think anyone here can help you.