We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
节点使用x-ui搭建vmess+grpc的方式,tls由nginx反代grpc做前置。 '断流'的具体表现为,手机连接wifi,使用v2rayng(clash),此时节点正常使用。手机关闭wifi,使用流量,也可以正常使用。再打开wifi,连接上原wifi,此时就无法上网了,客户端无流量进出,此时需要手动关闭一下客户端的连接,再打开,就又可以了。也就是再不断开v2rayng(clash)的时候,本地网络切换重连,都会造成节点无法使用,需要手动在客户端进行重新连接。 此外,还有偶尔出现的设备一段时间没使用后,也断了,同样需要手动重新连接。 以下是nginx的配置,望大佬不吝赐教。
user www-data; worker_processes auto; error_log /var/log/nginx/error.log notice; pid /var/run/nginx.pid; events { worker_connections 1024; } http { log_format main '[$time_local] $proxy_protocol_addr "$http_referer" "$http_user_agent"'; access_log /var/log/nginx/access.log main; server { listen 443 ssl http2 so_keepalive=on; server_name example.com; index index.html; root /var/www/html; ssl_certificate /root/.cert/server.crt; ssl_certificate_key /root/.cert/server.key; ssl_protocols TLSv1.2 TLSv1.3; ssl_ciphers ECDHE-ECDSA-AES128-GCM-SHA256:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384; client_header_timeout 52w; keepalive_timeout 52w; location /xxxxxx { if ($content_type !~ "application/grpc") { return 404; } grpc_pass grpc://127.0.0.1:19988; client_max_body_size 0; client_body_buffer_size 512k; grpc_set_header X-Real-IP $remote_addr; client_body_timeout 52w; grpc_read_timeout 52w; } } }
The text was updated successfully, but these errors were encountered:
Sorry, something went wrong.
与文档问题无关
No branches or pull requests
节点使用x-ui搭建vmess+grpc的方式,tls由nginx反代grpc做前置。
'断流'的具体表现为,手机连接wifi,使用v2rayng(clash),此时节点正常使用。手机关闭wifi,使用流量,也可以正常使用。再打开wifi,连接上原wifi,此时就无法上网了,客户端无流量进出,此时需要手动关闭一下客户端的连接,再打开,就又可以了。也就是再不断开v2rayng(clash)的时候,本地网络切换重连,都会造成节点无法使用,需要手动在客户端进行重新连接。
此外,还有偶尔出现的设备一段时间没使用后,也断了,同样需要手动重新连接。
以下是nginx的配置,望大佬不吝赐教。
The text was updated successfully, but these errors were encountered: