Skip to content
Discussion options

You must be logged in to vote

Yes you can
no rule is needed for matching path, just match SNI in TCP request (L4) or host in HTTPS request (L7) and forward it to your backend in http mode
your backend should be xray xhttp, mode : auto, path: /what-ever-you-like without TLS

TLS is done by haproxy
xhttp is done by xray


some sample configurations can be found here
https://xtls.github.io/en/document/level-2/nginx_or_haproxy_tls_tunnel.html

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@shakibamoshiri
Comment options

@m0x61h0x64i
Comment options

@shakibamoshiri
Comment options

@m0x61h0x64i
Comment options

@shakibamoshiri
Comment options

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