add mjs extension to nginx configuration

This commit is contained in:
Daniel Micay 2021-01-27 20:29:33 -05:00
parent 17e4f5a7ee
commit ff49f1000d

View File

@ -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";
}