Xray-examples/VLESS-GRPC/Caddyfile

14 lines
211 B
Caddyfile
Raw Normal View History

xx.com {
@grpc {
protocol grpc
path # 填写 /你的 ServiceName/*
}
reverse_proxy @grpc unix//dev/shm/Xray-Trojan-gRPC.socket {
transport http {
versions h2c
}
}
root * /var/www
file_server
}