plumn

Results 6 comments of plumn

感谢大佬分享,我之前用的vmess链式中转和您肉身出国前的配置一样,现在使用vless后貌似落地鸡vless接收不了中转机outbound发出的vless流量,日志最后一步到落地鸡nginx的日志访问对应path返回400 error.也就是传到落地鸡的流量不是vless协议能识别的,不知道中转机的outbound该如何正确配置出站vless数据,改回vmess一切正常

同样的问题,翻看了几天各种issuses,discussion,google博文数十篇,我真怀疑他们的nginx自己用过没,我已经非常熟练清楚知道nginx不能同端口同时处理https/1.1和http2,所以实际上有两种方法回落,一种用两个端口分别接替,一种用unix进程两个分别接替。 而后者可以使用proxy_protocol模块让nginx接收到访问者源ip,这些暂时都不重要,重要的是网站访问这边的问题: 以前nginx前置监听443分流的时候,基本上用的path路径分流vmess到后端v2ray进行处理,各种方便,只不过耗电一些,以及怀疑路由器cpu性能不够只能跑20mbps左右,于是将vless前置,监听443,使用vless +tcp +xls,而nginx我原来的配置(可能大部分人的配置)都是让一个80端口server监听www.your.domain和your.domain 301到https://www.your.domain 或者https://your.domain. 然后443端口做两个server,如果要全部跳转到无www的,就将此作为default_server,另一个带www的也301跳转过来,当然你最终要全部跳转到带www的https则反之。 vless监听443后,我将nginx处理https两个服务监听的443去掉,换成了各种大佬的samples,比如https://github.com/lxhao61/integrated-examples/tree/main/v2ray(vless%5Ctrojan%2Btcp%2Btls)%2Bnginx 或者: https://github.com/XTLS/Xray-examples/tree/main/VLESS-TCP-TLS-WS%20(recommended) 针对port fallback 到81 和82为例,这边nginx https这块接收 server { listen 127.0.0.1:81; #http/1.1 server,监听本地81端口。 listen 127.0.0.1:82 http2; #h2c server,监听本地82端口。 server_name xx.yy; #更改为自己的域名...

> Thank you , my solution to force https is add fastcgi_param HTTPS "on"; in location ~.php , and what I want redirect is both http://mydomain.com & http://www.mydomain.com to https://mydomain.com...

> The fact is affected , I'm also sure your can redirect https://domainA.com to https://domainB.com , but data from xtls can't redirect correctly from **http**://www.mydomain.com to https://mydomain.com , neither with...

> 我有两台机器,分别用sock和端口,好像都没有问题,不过我用的是tls return 301后面用$http_host试试? > > ``` > server { > listen 80 default_server; > listen [::]:80 default_server; > server_name mydomain.com *.mydomain.com; > return 301 https://$http_host$request_uri; > } > >...

还有种方法就是不用修改数据库文件,直接登陆成功后关闭app,把RSKtorage文件删除,再次启动就可以使用令牌了