소스 검색

Update Caddyfile

消除可能的歧义
ws2bhhh 2 년 전
부모
커밋
5c0b1523f1
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      VLESS-GRPC/Caddyfile

+ 1 - 1
VLESS-GRPC/Caddyfile

@@ -1,7 +1,7 @@
 xx.com {
 	@grpc {
 		protocol grpc
-		path  # 填写 /你的 ServiceName/*
+		path /ServiceName/* # 修改为你自己的 ServiceName,且仅能存在两个斜杠。(如:/MyService/ServiceName/*会导致错误)
 	}
 	reverse_proxy @grpc unix//dev/shm/Xray-VLESS-gRPC.socket {
 		transport http {