mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-12 20:03:27 +00:00
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
|
||
|
}
|