diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2022-05-12 16:59:25 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2022-05-12 16:59:25 -0400 |
| commit | 6541335b8c40183a47e4727db97398c8bfe07a4b (patch) | |
| tree | 0d08a97ae376a88b2cba2cdf914c2cedaf39f900 | |
| parent | a6244156864e5853af45322ab3537b1f1e671268 (diff) | |
RFC 9239 obsoletes application/javascript
| -rw-r--r-- | nginx/mime.types | 2 | ||||
| -rw-r--r-- | 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; |
