mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-25 18:11:28 +00:00
10 lines
193 B
Caddyfile
10 lines
193 B
Caddyfile
xx.com {
|
|
@grpc {
|
|
protocol grpc
|
|
path # 填写 /你的 ServiceName/*
|
|
}
|
|
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket
|
|
root * /var/www
|
|
file_server
|
|
}
|