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