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

套CDN的域名伪装是有问题的。启用域名就无法连接了 #48

Open
yang9w opened this issue Sep 14, 2019 · 3 comments
Open

Comments

@yang9w
Copy link

yang9w commented Sep 14, 2019

修改域名伪装的配置后才能连接。我是用带www.xxx.com的,伪装设置成不带WWW的域名xxx.com这样后就能安全连接上了。

@yang9w
Copy link
Author

yang9w commented Sep 14, 2019

/etc/nginx/conf.d/v2ray.conf
修改这个文件的$http_host = "www.****.com"

@yang9w
Copy link
Author

yang9w commented Sep 14, 2019

cloudflare的cdn功能和v2ray的伪装功能不能同时使用
删除就可以了

@eaglepie
Copy link

@yang9w 真的非常感谢,你帮到了我。折腾了我两天时间。免费域名,cf也设置好,云朵也变橙色了,网站也能打开,就是打开v2ray不能连接,终极郁闷,直到我来到了这里。另外详细补充一下,删除伪装不仅仅要删除v2ray服务器端,客户端的,而且还要删除nginx里面的配置,把那个if给干掉,然后重启服务器吧(不用重启v和n了,省事)。然后你就会发现可以了,速度还不错的。写这么详细希望能帮到后面来的朋友,因为我也是这么一路走来的。

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