leev / ngx_http_geoip2_module

Nginx GeoIP2 module
BSD 2-Clause "Simplified" License
983 stars 186 forks source link

question: does this extension work with gRPC connections? #89

Closed daniel-garcia closed 2 years ago

daniel-garcia commented 4 years ago

question: does this extension work with gRPC connections?

aduzsardi commented 3 years ago

i think the stream module should work with grpc/tcp/udp connections

leev commented 2 years ago

I've not used grpc with nginx before, but looking at https://www.nginx.com/blog/nginx-1-13-10-grpc/, it is just handled by the http2 module, which will support geoip. Even if using the stream module as @aduzsardi pointed out above, that would also work.