1
0
mirror of https://github.com/XTLS/Xray-examples.git synced 2025-02-27 17:39:28 +08:00
2021-07-05 21:49:10 +08:00

10 lines
177 B
Caddyfile

xx.com {
@grpc {
protocol grpc
path # 填写 /你的 ServiceName/*
}
reverse_proxy @grpc h2c://127.0.0.1:2002
root * /var/www
file_server
}