mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-10 02:53:11 +00:00
10 lines
173 B
Caddyfile
10 lines
173 B
Caddyfile
xx.com {
|
|
@grpc {
|
|
protocol grpc
|
|
path # 填写你的 ServiceName
|
|
}
|
|
reverse_proxy @grpc h2c://127.0.0.1:2002
|
|
root * /var/www
|
|
file_server
|
|
}
|