summaryrefslogtreecommitdiff
path: root/nginx
diff options
context:
space:
mode:
authorDaniel Micay <daniel.micay@grapheneos.org>2024-04-08 17:51:25 -0400
committerDaniel Micay <daniel.micay@grapheneos.org>2024-04-08 17:51:25 -0400
commitfb8dce45061c524e91deaaa7916c8acbb76a5cde (patch)
tree93b8f9fe41fa1409bb9f3eb669104fdf963967d5 /nginx
parent2bf340ee09ee8c9fa9cee8a02e1c796cb63578c1 (diff)
include security headers for vanadium.app root
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 617d7e2e..4745b3b6 100644
--- a/nginx/nginx.conf
+++ b/nginx/nginx.conf
@@ -192,6 +192,7 @@ http {
add_header Cross-Origin-Resource-Policy "same-origin" always;
location = / {
+ include snippets/security-headers.conf;
add_header Cache-Control "public, max-age=2592000";
return 301 https://grapheneos.org/features#vanadium;
}