Skip to content

Unable to setup Vless+GRPC+TLS using cloudflare with nginx as reverse proxy. #3538

Answered by MEM-917
nyinyiaung94 asked this question in Q&A
Discussion options

You must be logged in to vote

There are 2 problems with your set-up.

  1. You have an ssl/tls enabled inbound and you are proxying the connection via nginx which has its own enabled ssl/tls.
  2. ServiceName in xray and location in nginx must be the same.

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.

`

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
1 reply
@nyinyiaung94
Comment options

Answer selected by nyinyiaung94
Comment options

You must be logged in to vote
3 replies
@lxhao61
Comment options

@MEM-917
Comment options

@nyinyiaung94
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants