From 2bc8b7ea910627db6a4b895cd7451c589c7c2dc1 Mon Sep 17 00:00:00 2001 From: Haseeb Qureshie Date: Mon, 18 Nov 2024 10:02:31 +0100 Subject: [PATCH] added mime types --- nginx.conf | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ac8a1eaf..6ba0ac0a 100644 --- a/nginx.conf +++ b/nginx.conf @@ -12,7 +12,16 @@ http { access_log nginx_access.log; error_log nginx_error.log info; - include /etc/nginx/mime.types; + types { + text/html html htm shtml; + text/css css; + application/javascript js; + application/wasm wasm; + image/png png; + image/jpeg jpg jpeg; + image/svg+xml svg; + } + default_type application/octet-stream; sendfile on;