summaryrefslogtreecommitdiffhomepage
path: root/vhosts/blog
diff options
context:
space:
mode:
Diffstat (limited to 'vhosts/blog')
-rw-r--r--vhosts/blog/nginx.conf5
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;