Unable to setup Vless+GRPC+TLS using cloudflare with nginx as reverse proxy. #3538
-
Hello everyone, Thanks in advance for any answer. :)) On Nginx Access log
On Qv2ray Client
XRAY error log
XRAY Configs is as follow:
And below is my Nginx Config
listen 443 ssl http2; keepalive_requests 80000; root /var/www/html; index index.html index.htm index.nginx-debian.html; server_name x.mydomain.com; access_log /etc/nginx/access.log; location / { location /holymoly/ { location /gRPC { proxy_buffer_size 512k; grpc_socket_keepalive on; grpc_ssl_server_name on; } |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
There are 2 problems with your set-up.
The second one is easy. just use the same name for both of them. ` |
Beta Was this translation helpful? Give feedback.
-
First of all, you're welcome.
|
Beta Was this translation helpful? Give feedback.
There are 2 problems with your set-up.
The second one is easy. just use the same name for both of them.
For the first one, you must create a simple gRPC in xray w/o tls setting. Then remove the secondary certificate in gRPC directory in nginx and just pass the connections. In this method, all connection encodings and handshakes would be handled by nginx.
`