summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2024-02-24 15:39:59 -0500
committerDaniel Micay <daniel.micay@grapheneos.org>2024-02-24 15:39:59 -0500
commit8ae0f54a9c7e1cd366aaba671d11fa0d6025b3a7 (patch)
tree619d22ba242df336774429e1b1313e058b75f138 /nginx
parentdda0ad5996d45411d8d6a5a441bce64da0c928de (diff)
add redirect.js preload to servers page
Diffstat (limited to 'nginx')
-rw-r--r--nginx/nginx.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/nginx/nginx.conf b/nginx/nginx.conf
index c385504f..24cf4569 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -89,6 +89,7 @@ http {
aio_write on;
map $uri $preload_resources_uri {
+ /articles/grapheneos-servers.html ", <[[path|/js/redirect.js]]>; rel=modulepreload; integrity=[[integrity|/js/redirect.js]]";
/build.html ", <[[path|/js/redirect.js]]>; rel=modulepreload; integrity=[[integrity|/js/redirect.js]]";
/faq.html ", <[[path|/js/redirect.js]]>; rel=modulepreload; integrity=[[integrity|/js/redirect.js]]";
/index.html ", <[[path|/pixel-7-pro.svg]]>; rel=preload; as=image, <[[path|/js/redirect.js]]>; rel=modulepreload; integrity=[[integrity|/js/redirect.js]]";