2021-03-27 14:28:52 +00:00
|
|
|
xx.com {
|
|
|
|
@grpc {
|
|
|
|
protocol grpc
|
2021-03-28 08:55:46 +00:00
|
|
|
path # 填写 /{你的 ServiceName}/*
|
2021-03-27 14:28:52 +00:00
|
|
|
}
|
2021-03-28 08:23:52 +00:00
|
|
|
reverse_proxy @grpc h2c://127.0.0.1:2002
|
2021-03-27 14:28:52 +00:00
|
|
|
root * /var/www
|
|
|
|
file_server
|
|
|
|
}
|