add Trojan-gRPC-Caddy2/Nginx

Fork https://github.com/XTLS/Xray-examples/tree/main/VLESS-GRPC
This commit is contained in:
xqzr
2022-09-09 16:17:38 +08:00
committed by GitHub
parent c325bfdd49
commit f87d87beb8
4 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
example.com {
@grpc {
protocol grpc
path # 填写 /你的 ServiceName/*
}
reverse_proxy @grpc unix//dev/shm/Xray-Trojan-gRPC.socket
root * /var/www
file_server
}