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

Nginx 代理 https 端口问题 #153

Open
hanlhan opened this issue Feb 7, 2021 · 3 comments
Open

Nginx 代理 https 端口问题 #153

hanlhan opened this issue Feb 7, 2021 · 3 comments

Comments

@hanlhan
Copy link

hanlhan commented Feb 7, 2021

作者你好,我用 Nginx 代理 Https 时,首页 遇到 strict-origin-when-cross-origin 问题,原因是首页 访问了 /server/getSysInfo 直接访问了服务器的 8011 端口,而不是 80端口,导致不能访问服务。请问应该怎样解决呢?

@a597873885
Copy link
Owner

@hanlhan 你好,如果你的代理设置好了, 那你的bin/domian.js这个文件里的设置就不需要带上 8011端口号,直接写个域名就可以了

@hanlhan
Copy link
Author

hanlhan commented Feb 7, 2021

可以了,非常感谢。顺便问一下埋点功能可以用吗?是怎么用的?

@a597873885
Copy link
Owner

@hanlhan 你好,埋点是可以使用的。 是比较基础的功能,你创建两个埋点就能看出来怎么用了。

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