1
0
mirror of https://github.com/XTLS/Xray-examples.git synced 2025-03-01 02:19:28 +08:00

14 lines
210 B
Caddyfile
Raw Normal View History

xx.com {
@grpc {
protocol grpc
path # 填写 /你的 ServiceName/*
}
2022-11-16 05:46:29 +08:00
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
transport http {
versions h2c
}
}
root * /var/www
file_server
}