gRPC: do not require HTTP/2 module.

This commit is contained in:
Sergey Kandaurov 2025-12-12 18:13:07 +04:00
parent c1eac3f526
commit ec8eda9fbf
1 changed files with 2 additions and 2 deletions

View File

@ -102,7 +102,7 @@ if [ $HTTP = YES ]; then
fi fi
if [ $HTTP_V2 = YES -o $HTTP_PROXY = YES ]; then if [ $HTTP_V2 = YES -o $HTTP_PROXY = YES -o $HTTP_GRPC = YES ]; then
have=NGX_HTTP_V2_SUPPORT . auto/have have=NGX_HTTP_V2_SUPPORT . auto/have
USE_HTTP_V2=YES USE_HTTP_V2=YES
@ -785,7 +785,7 @@ if [ $HTTP = YES ]; then
. auto/module . auto/module
fi fi
if [ $HTTP_GRPC = YES -a $HTTP_V2 = YES ]; then if [ $HTTP_GRPC = YES ]; then
ngx_module_name=ngx_http_grpc_module ngx_module_name=ngx_http_grpc_module
ngx_module_incs= ngx_module_incs=
ngx_module_deps= ngx_module_deps=