Complete the code to include the MIME types file in the nginx configuration.
include [1];The standard location for the MIME types file in nginx is /etc/nginx/mime.types. Including this file allows nginx to map file extensions to MIME types correctly.
Complete the MIME type declaration for .json files in the mime.types file.
application/[1] json;application/javascript which is for .js files.plain text with JSON MIME type.The correct MIME type for JSON files is application/json which nginx uses for .json files.
Fix the error in the MIME type declaration for .html files.
text/[1] html;htm instead of html causes mismatch.plain or xml for HTML files.The correct MIME type for HTML files is text/html. Using html completes the declaration properly.
Fill both blanks to define the MIME type for .css files correctly.
[1]/[2] css;
application/css which is incorrect.plain/css which is invalid.The correct MIME type for CSS files is text/css. So text and css fill the blanks properly.
Fill both blanks to create a MIME types map for .png and .jpg files.
{BLANK_1}} { { image/png png; {{BLANK_2}} jpg; };The correct syntax to define MIME types in nginx is using the types block with curly braces. Inside, png maps to image/png and jpg maps to image/jpeg. Here, the blanks are filled with types, {, and image/jpeg respectively.