nginx: add source map support

This commit is contained in:
Daniel Micay 2021-04-29 11:34:40 -04:00
parent b789189e07
commit e8f8516acd

View File

@ -227,7 +227,7 @@ http {
add_header Cache-Control "public, max-age=604800";
}
location ~ "\.(css|js|mjs)$" {
location ~ "\.(css|js|map|mjs)$" {
include snippets/security-headers.conf;
add_header Cross-Origin-Resource-Policy "same-origin" always;
add_header Cache-Control "public, max-age=31536000, immutable";