瀏覽代碼

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;