add mjs extension to nginx configuration
This commit is contained in:
parent
17e4f5a7ee
commit
ff49f1000d
@ -210,7 +210,7 @@ http {
|
||||
add_header Cache-Control "public, max-age=604800";
|
||||
}
|
||||
|
||||
location ~ "\.(css|js|svg)$" {
|
||||
location ~ "\.(css|js|mjs|svg)$" {
|
||||
include /etc/nginx/snippets/security-headers.conf;
|
||||
add_header Cache-Control "public, max-age=31536000";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user