How to config Nginx for gRPC session sticky?

2019-05-29 Thread tjlp
I want to use nginx for gRPC loadbalance. And Nginx need to forward all the gRPC requests of a session to the same backend server. What is the recommended implementation? Thanks ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/l

njs: how to define a global variable

2019-05-29 Thread guy1976
hi is it possible to define a global variable that will be persist for different requests? thank you, Guy. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,284350,284350#msg-284350 ___ nginx mailing list nginx@nginx.org http://mailman.nginx

Re: GRPC reverse proxy using same port for multiple grpc host/ports

2019-05-29 Thread Maxim Dounin
Hello! On Tue, May 28, 2019 at 10:41:15PM -0400, isuru wrote: > Hi All, > I am trying to reverseproxy http2 base grpc using nginx.I attempted with > nginx port 9092 to proxy to singl e grpc host port using a conf file inside > conf.d. > > map $http_upgrade $connection_upgrade { > default u

nginx inside docker: mapping localhost:port in one container to another_container:port

2019-05-29 Thread Sim Tov
Hello, I have a custom network and two containers A and B connected to it. Container A (with Debian inside) runs nginx and an application that listens to localhost:8083 and expects certain service there. Once deployed this service runs in container B and not locally. For certain reasons I can't cha