proxy_redirect off;
proxy_pass http://127.0.0.1:20022;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}[/ol]复制代码
配置后使用客户端连接v2ray总提示这个,也无法上网:
rejected common/drain: common/drain: unable to drain connection > EOF > proxy/vmess/encoding: invalid user > proxy/vmess: Not Found
alertId、时间戳什么也都对,另外如果不经过nginx直接连接vmess是可以上网的,有大佬知道是怎么回事吗?