mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-25 18:11:28 +00:00
Update Caddyfile
消除可能的歧义
This commit is contained in:
parent
6c979e4f0e
commit
5c0b1523f1
|
@ -1,7 +1,7 @@
|
||||||
xx.com {
|
xx.com {
|
||||||
@grpc {
|
@grpc {
|
||||||
protocol grpc
|
protocol grpc
|
||||||
path # 填写 /你的 ServiceName/*
|
path /ServiceName/* # 修改为你自己的 ServiceName,且仅能存在两个斜杠。(如:/MyService/ServiceName/*会导致错误)
|
||||||
}
|
}
|
||||||
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
|
reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
|
||||||
transport http {
|
transport http {
|
||||||
|
|
Loading…
Reference in a new issue