mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-10 02:53:11 +00:00
9ad16b0ff6
not trojan-grpc
14 lines
210 B
Caddyfile
14 lines
210 B
Caddyfile
xx.com {
|
|
@grpc {
|
|
protocol grpc
|
|
path # 填写 /你的 ServiceName/*
|
|
}
|
|
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
|
|
transport http {
|
|
versions h2c
|
|
}
|
|
}
|
|
root * /var/www
|
|
file_server
|
|
}
|