From 6541335b8c40183a47e4727db97398c8bfe07a4b Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Thu, 12 May 2022 16:59:25 -0400 Subject: [PATCH] RFC 9239 obsoletes application/javascript --- nginx/mime.types | 2 +- nginx/nginx.conf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx/mime.types b/nginx/mime.types index dbf35f11..30892859 100644 --- a/nginx/mime.types +++ b/nginx/mime.types @@ -2,10 +2,10 @@ types { text/html html htm shtml; text/css css; + text/javascript js mjs; text/xml xml; image/gif gif; image/jpeg jpeg jpg; - application/javascript js mjs; application/atom+xml atom; application/rss+xml rss; diff --git a/nginx/nginx.conf b/nginx/nginx.conf index e6854bf1..7e0f0850 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -14,7 +14,7 @@ http { default_type application/octet-stream; charset utf-8; - charset_types text/css text/plain text/xml application/atom+xml application/javascript; + charset_types text/css text/javascript text/plain text/xml application/atom+xml; sendfile on; sendfile_max_chunk 512k;