mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-01-18 22:09:29 +08: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…
x
Reference in New Issue
Block a user