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

关于“WebSocket + TLS + Web”一章,想请教一个问题 #100

Open
RaymanNg opened this issue May 27, 2020 · 0 comments
Open

关于“WebSocket + TLS + Web”一章,想请教一个问题 #100

RaymanNg opened this issue May 27, 2020 · 0 comments

Comments

@RaymanNg
Copy link

作者你好

在“WebSocket + TLS + Web”一章里,你在Caddy里配置了header_upstream -Origin一项,对此我感到有点疑惑:为什么你要删掉Origin信息呢?我看你的Nginx配置里貌似也没有做这个操作啊?

(P.S.: Google 了一下, 貌似Origin这个header是与CORS有关的,但我还是看不出来有什么删掉它的必要)

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

1 participant