mirror of
https://github.com/XTLS/Xray-examples.git
synced 2025-03-14 02:33:54 +00:00
Starting with "application/grpc"
This commit is contained in:
parent
2988294bdc
commit
8c9e1c5f4f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue