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:
parent
c27e1254bb
commit
029ff53aad
1 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,9 @@ http {
|
||||||
# server_name_in_redirect off;
|
# server_name_in_redirect off;
|
||||||
|
|
||||||
include /etc/nginx/mime.types;
|
include /etc/nginx/mime.types;
|
||||||
|
types {
|
||||||
|
application/javascript mjs;
|
||||||
|
}
|
||||||
default_type application/octet-stream;
|
default_type application/octet-stream;
|
||||||
|
|
||||||
##
|
##
|
||||||
|
|
@ -78,7 +81,7 @@ http {
|
||||||
}
|
}
|
||||||
|
|
||||||
## Optional: set long EXPIRES header on static assets
|
## 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;
|
expires 30d;
|
||||||
## Optional: Don't log access to assets
|
## Optional: Don't log access to assets
|
||||||
access_log off;
|
access_log off;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue