nginx: add source map support
This commit is contained in:
parent
b789189e07
commit
e8f8516acd
@ -227,7 +227,7 @@ http {
|
|||||||
add_header Cache-Control "public, max-age=604800";
|
add_header Cache-Control "public, max-age=604800";
|
||||||
}
|
}
|
||||||
|
|
||||||
location ~ "\.(css|js|mjs)$" {
|
location ~ "\.(css|js|map|mjs)$" {
|
||||||
include snippets/security-headers.conf;
|
include snippets/security-headers.conf;
|
||||||
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
add_header Cross-Origin-Resource-Policy "same-origin" always;
|
||||||
add_header Cache-Control "public, max-age=31536000, immutable";
|
add_header Cache-Control "public, max-age=31536000, immutable";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user