Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling these two headers through nginx will block all third-party resources that the website is currently using. #724

Open
huozhiyan opened this issue Apr 10, 2024 · 2 comments

Comments

@huozhiyan
Copy link

Describe the bug
Enabling these two headers through nginx will block all third-party resources that the website is currently using.This has brought us some troubles.

Cross-Origin-Embedder-Policy: require-corp;
Cross-Origin-Opener-Policy: same-origin;

Is there any other solution besides adding these two headers to third-party resources?

Thank you in advance!


通过nginx启用这两个标头将阻止网站正在使用的所有第三方资源。这给我们带来了一些麻烦。

Cross-Origin-Embedder-Policy: require-corp;
Cross-Origin-Opener-Policy: same-origin;

除了将这两个标头添加到第三方资源之外,还有其他解决方案吗?
提前感谢!

@huozhiyan
Copy link
Author

I tried to add these two headers only to requests related to ffmpeg, but it doesn't seem feasible.
Are you facing the same problem? Do you have a good solution?


我尝试只对ffmpeg相关的请求添加这两个标头,但似乎并不可行。
你也面临着同样的问题吗?有没有好的解决方案?

@syjf
Copy link

syjf commented Apr 19, 2024

描述错误 通过 nginx 启用这两个标头将阻止网站当前使用的所有第三方资源。这给我们带来了一些麻烦。 除了将这两个标头添加到第三方资源之外,还有其他解决方案吗? 先谢谢你!Cross-Origin-Embedder-Policy: require-corp;``Cross-Origin-Opener-Policy: same-origin;

通过nginx启用这两个标头将阻止网站正在使用的所有第三方资源。这给我们带来了一些麻烦。

Cross-Origin-Embedder-Policy: require-corp; Cross-Origin-Opener-Policy: same-origin;

除了将这两个标头添加到第三方资源之外,还有其他解决方案吗? 提前感谢!
Good brother, have you found a solution yet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants