File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -367,6 +367,12 @@ http {
367
367
default_type application/trafficadvice+json;
368
368
}
369
369
370
+ location = /manifest.webmanifest {
371
+ include snippets/security-headers.conf;
372
+ add_header Cross-Origin-Resource-Policy "same-origin" always;
373
+ add_header Cache-Control "public, max-age=604800" ;
374
+ }
375
+
370
376
location = /install/web {
371
377
include snippets/security-headers-base.conf;
372
378
add_header Content-Security-Policy "default-src 'none'; child-src 'self'; connect-src 'self' https://releases.grapheneos.org/; font-src 'self'; img-src 'self'; manifest-src 'self'; script-src 'self'; style-src 'self'; webrtc 'block'; form-action 'none'; frame-ancestors 'none'; base-uri 'none'" always;
@@ -408,12 +414,6 @@ http {
408
414
add_header Cache-Control "public, max-age=31536000, immutable" ;
409
415
}
410
416
411
- location ~ "\.webmanifest$" {
412
- include snippets/security-headers.conf;
413
- add_header Cross-Origin-Resource-Policy "same-origin" always;
414
- add_header Cache-Control "public, max-age=604800" ;
415
- }
416
-
417
417
location ~ "\.svg$" {
418
418
include snippets/security-headers.conf;
419
419
add_header Cross-Origin-Resource-Policy "same-origin" always;
You can’t perform that action at this time.
0 commit comments