1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 17:14:08 +02:00

add mjs mimetype

This commit is contained in:
Robin Appelman 2023-07-14 15:20:47 +02:00
commit 029ff53aad

View file

@ -24,6 +24,9 @@ http {
# server_name_in_redirect off;
include /etc/nginx/mime.types;
types {
application/javascript mjs;
}
default_type application/octet-stream;
##
@ -78,7 +81,7 @@ http {
}
## Optional: set long EXPIRES header on static assets
location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|swf)$ {
location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|css|js|mjs|swf)$ {
expires 30d;
## Optional: Don't log access to assets
access_log off;