Update install.md

updated to include context isolation, to allow for ffmpeg.js to work:
details:
https://marketplace.zoom.us/docs/sdk/native-sdks/web/advanced/web-isolation
This commit is contained in:
Steve Seguin 2021-06-18 17:48:05 -04:00 committed by GitHub
parent a125421357
commit b366469e59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,14 +65,20 @@ An example NGINX config file that "hides" the file extensions is as follows. Up
root /var/www/html/obs.ninja;
try_files /$1/$2 /$1/$2.html /$1/$2/ /$2 /$2/ /$1/index.html;
add_header Access-Control-Allow-Origin *;
add_header 'cross-origin-resource-policy' '*';
add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
add_header 'Cross-Origin-Opener-Policy' 'same-origin';
}
location / {
if ($request_uri ~ ^/(.*)\.html$) {
return 302 /$1;
}
try_files $uri $uri.html $uri/ /index.html;
add_header Access-Control-Allow-Origin *;
if ($request_uri ~ ^/(.*)\.html$) {
return 302 /$1;
}
add_header 'cross-origin-resource-policy' '*';
add_header 'Cross-Origin-Embedder-Policy' 'require-corp';
add_header 'Cross-Origin-Opener-Policy' 'same-origin';
try_files $uri $uri.html $uri/ /index.html;
add_header Access-Control-Allow-Origin *;
}
}
```