mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-11-03 11:25:34 +08:00
Add: gRPC
Co-Authored-By: EIKULG <34759969+EIKULG@users.noreply.github.com>
This commit is contained in:
9
VLESS-GRPC/Caddyfile
Normal file
9
VLESS-GRPC/Caddyfile
Normal file
@@ -0,0 +1,9 @@
|
||||
xx.com {
|
||||
@grpc {
|
||||
protocol grpc
|
||||
path # 填写你的 ServiceName
|
||||
}
|
||||
reverse_proxy /h2 h2c://127.0.0.1:2003
|
||||
root * /var/www
|
||||
file_server
|
||||
}
|
||||
Reference in New Issue
Block a user