summaryrefslogtreecommitdiff
path: root/nginx/nginx.conf
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2021-11-26 19:41:37 -0500
committerDaniel Micay <danielmicay@gmail.com>2021-11-26 19:41:37 -0500
commit4027afcf6ec0a1dad3c260e3ece565cd2efe6b43 (patch)
tree75cd0651c3bc74975c674837227abe501e89b929 /nginx/nginx.conf
parent23e42eabdfc701388c304360cf7bf5a7f272a7bc (diff)
add integrity metadata to preload header
Diffstat (limited to 'nginx/nginx.conf')
-rw-r--r--nginx/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index eef73d03..5dfe0835 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -74,7 +74,7 @@ http {
map $http_cookie $preload_resources {
"~*__Host-preload=1" "";
- default "<{{path|/main.css}}>; rel=preload; as=style, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image";
+ default "<{{path|/main.css}}>; rel=preload; as=style; integrity={{integrity|/main.css}}, </fonts/roboto-v29-regular-latin.woff2>; rel=preload; as=font; crossorigin, </fonts/roboto-v29-bold-latin.woff2>; rel=preload; as=font; crossorigin, <{{path|/mask-icon.svg}}>; rel=preload; as=image";
}
server {