10 lines
177 B
Caddyfile
Raw Normal View History

xx.com {
@grpc {
protocol grpc
2021-07-05 21:49:10 +08:00
path # 填写 /你的 ServiceName/*
}
2021-03-28 16:23:52 +08:00
reverse_proxy @grpc h2c://127.0.0.1:2002
root * /var/www
file_server
}