diff options
| author | Daniel Micay <danielmicay@gmail.com> | 2021-04-29 11:34:40 -0400 |
|---|---|---|
| committer | Daniel Micay <danielmicay@gmail.com> | 2021-04-29 11:34:40 -0400 |
| commit | e8f8516acd3137d204c7976e56f6738f1af844ff (patch) | |
| tree | b5fb3b7b2a4f907ec06a913fedc6721e44a64789 /nginx | |
| parent | b789189e070be2dfe43079bd1d4e464f8069ba6b (diff) | |
nginx: add source map support
Diffstat (limited to 'nginx')
| -rw-r--r-- | nginx/nginx.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf index 365fc9fe..04073b01 100644 --- a/nginx/nginx.conf +++ b/nginx/nginx.conf @@ -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"; |
