2021-03-27 14:28:52 +00:00
|
|
|
xx.com {
|
2022-10-20 12:54:41 +00:00
|
|
|
@grpc {
|
|
|
|
protocol grpc
|
|
|
|
path # 填写 /你的 ServiceName/*
|
|
|
|
}
|
|
|
|
reverse_proxy @grpc unix//dev/shm/Xray-Trojan-gRPC.socket {
|
|
|
|
transport http {
|
|
|
|
versions h2c
|
|
|
|
}
|
|
|
|
}
|
|
|
|
root * /var/www
|
|
|
|
file_server
|
2021-03-27 14:28:52 +00:00
|
|
|
}
|