소스 검색

Starting with "application/grpc"

xqzr 1 년 전
부모
커밋
8c9e1c5f4f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      VLESS-GRPC/README.md

+ 1 - 1
VLESS-GRPC/README.md

@@ -23,7 +23,7 @@ server {
         keepalive_timeout 30m;
 	# 在 location 后填写 /你的 ServiceName
 	location /你的 ServiceName {
-		if ($content_type !~ "application/grpc") {
+		if ($content_type !~ "^application/grpc") {
 			return 404;
 		}
 		client_max_body_size 0;