diff options
Diffstat (limited to 'vhosts')
| -rw-r--r-- | vhosts/blog/nginx.conf | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vhosts/blog/nginx.conf b/vhosts/blog/nginx.conf index 32787c78..7cc8bda1 100644 --- a/vhosts/blog/nginx.conf +++ b/vhosts/blog/nginx.conf @@ -9,6 +9,11 @@ server { types { } default_type "application/atom+xml; charset=utf-8"; } + + location ~* \.mjs$ { + types { } + default_type "application/javascript; charset=utf-8"; + } } error_page 404 /404.html; |
