location /path {
if ($content_type !~ "application/grpc") {
return 404;
}
client_body_buffer_size 1m;
client_body_timeout 1h;
client_max_body_size 0;
grpc_read_timeout 1h;
grpc_send_timeout 1h;
grpc_pass grpc://nui:43216;
}

发布于 2023-01-31 35 次阅读
location /path {
if ($content_type !~ "application/grpc") {
return 404;
}
client_body_buffer_size 1m;
client_body_timeout 1h;
client_max_body_size 0;
grpc_read_timeout 1h;
grpc_send_timeout 1h;
grpc_pass grpc://nui:43216;
}
Comments NOTHING