Xray-examples/VLESS-GRPC/Caddyfile

14 lines
210 B
Caddyfile
Raw Normal View History

xx.com {
@grpc {
protocol grpc
path # 填写 /你的 ServiceName/*
}
2022-11-15 21:46:29 +00:00
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
transport http {
versions h2c
}
}
root * /var/www
file_server
}