Re: Using gRPC nginx gateway

2021-06-04 Thread Maxim Konovalov
On 04.06.2021 18:44, babu vel wrote: > Hi Maxim, > > It's not in upstream block. It's in server block. Please refer code snip > below.       > [...] Yes, I missed the line numbers in your snippet. Maxim D.'s has better explanation of what is going here. -- Maxim Konovalov

Re: Using gRPC nginx gateway

2021-06-04 Thread babu vel
ards, Babu From: Maxim Konovalov Sent: Friday, June 4, 2021 2:15 AM To: nginx@nginx.org ; babu vel Subject: Re: Using gRPC nginx gateway Hi Babu, On 04.06.2021 10:54, babu vel wrote: > Hi, > > Am using nginx 1.17.3 version and trying to enable http2 and gRPC > gateway. I compiled i

Re: Using gRPC nginx gateway

2021-06-04 Thread Maxim Dounin
Hello! On Fri, Jun 04, 2021 at 07:54:00AM +, babu vel wrote: > Am using nginx 1.17.3 version and trying to enable http2 and > gRPC gateway. I compiled it enabling http_v2 and gRPC module. > However, am still getting below error reporting unknown > directive "grpc_pass", can you please let

Re: Using gRPC nginx gateway

2021-06-04 Thread Maxim Konovalov
Hi Babu, On 04.06.2021 10:54, babu vel wrote: > Hi, > > Am using nginx 1.17.3 version and trying to enable http2 and gRPC > gateway. I compiled it enabling http_v2 and gRPC module. However, am > still getting below error reporting unknown directive "grpc_pass", can > you please let me know what i

Using gRPC nginx gateway

2021-06-04 Thread babu vel
Hi, Am using nginx 1.17.3 version and trying to enable http2 and gRPC gateway. I compiled it enabling http_v2 and gRPC module. However, am still getting below error reporting unknown directive "grpc_pass", can you please let me know what is the issue here? # nginx -c /nginx/conf/grpc.conf -t n