mirror of https://github.com/XTLS/Xray-examples
10 lines
199 B
Caddyfile
10 lines
199 B
Caddyfile
![]() |
example.com {
|
||
|
@grpc {
|
||
|
protocol grpc
|
||
|
path # 填写 /你的 ServiceName/*
|
||
|
}
|
||
|
reverse_proxy @grpc unix//dev/shm/Xray-Trojan-gRPC.socket
|
||
|
root * /var/www
|
||
|
file_server
|
||
|
}
|