feat: add header for fueltide
This commit is contained in:
parent
0cd882602e
commit
133d031386
1 changed files with 15 additions and 0 deletions
|
|
@ -21,6 +21,11 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIILf3KpvY3sG/l5w4phV3qxOnahFpb7op/8y6i3oLWXv"
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
add_header Cross-Origin-Embedder-Policy "credentialless" always;
|
||||
add_header Content-Security-Policy "media-src 'self' https://*.supabase.co blob:;" always;
|
||||
'';
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
|
@ -41,6 +46,11 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIILf3KpvY3sG/l5w4phV3qxOnahFpb7op/8y6i3oLWXv"
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
add_header Cross-Origin-Embedder-Policy "credentialless" always;
|
||||
add_header Content-Security-Policy "media-src 'self' https://*.supabase.co blob:;" always;
|
||||
'';
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
|
@ -61,6 +71,11 @@
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIILf3KpvY3sG/l5w4phV3qxOnahFpb7op/8y6i3oLWXv"
|
||||
];
|
||||
|
||||
extraConfig = ''
|
||||
add_header Cross-Origin-Embedder-Policy "credentialless" always;
|
||||
add_header Content-Security-Policy "media-src 'self' https://*.supabase.co blob:;" always;
|
||||
'';
|
||||
|
||||
locations."/".extraConfig = ''
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue