Complete the code to set the default MIME type to text/plain.
default_type [1];The default_type directive sets the default MIME type for files without an explicit type. Here, text/plain is used to serve plain text.
Complete the code to disable the default MIME type by setting it to an empty value.
default_type [1];Setting default_type to an empty string disables the default MIME type in nginx.
Fix the error in the code to correctly set the default MIME type to application/octet-stream.
default_type [1];The directive must end with a semicolon outside the value. The value itself should not include the semicolon.
Fill both blanks to set the default MIME type to text/html and enable gzip compression.
default_type [1]; gzip [2];
The default_type is set to text/html to serve HTML by default. The gzip directive is enabled with on to compress responses.
Fill all three blanks to set the default MIME type to application/json, disable gzip, and set the server listen port to 8080.
default_type [1]; gzip [2]; listen [3];
The default MIME type is set to application/json for JSON responses. Gzip compression is disabled with off. The server listens on port 8080.