mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-25 18:11:28 +00:00
10 lines
177 B
Caddyfile
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
|
|
}
|