Re: Why Nginx send traffic to the next upstream on 504 error

2020-08-10 Thread Maxim Dounin
Hello! On Sun, Aug 09, 2020 at 10:45:14AM -0400, stmx38 wrote: > Maxim, thank you for reply! > > Some additional question here: > 1. If we will remove 'timeout' will Nginx send traffic to the next upstream > on 502 error? The "timeout" parameter corresponds to 504 returned to clients and in $u

Re: The nginx upstream configuration do not distinguish domain

2020-08-10 Thread Maxim Dounin
Hello! On Mon, Aug 10, 2020 at 04:19:52AM -0400, mark_liao wrote: > Hi, Dear friends: > > I post my problem detail in there: > > > https://stackoverflow.com/questions/63239923/the-nginx-upstream-configuration-do-not-distinguish-domain > > why can not differentiate the two upstreams

Re: Issue with NGINX as reverse proxy for grpc service

2020-08-10 Thread Víctor Enríquez
Hi Sergey, First thanks for your reply. What I don't really understand is, shouldn't nginx be more strict by default with the requests that are passed to grpc backends? I have been reading a little bit about the GRPC protocol, and it's supposed to just use POST requests (I might be wrong about t

Re: cgi-bin and nginx

2020-08-10 Thread Francis Daly
On Sun, Aug 09, 2020 at 09:34:20PM -0600, The Doctor wrote: Hi there, > location /cgi-bin/ { > #try_files $uri =404 ; > gzip off; > root /usr/local/www/apache24/cgi-bin/; > fastcgi_pass unix:/var/run/fcgiwrap/fcgiwrap.sock; > >

The nginx upstream configuration do not distinguish domain

2020-08-10 Thread mark_liao
Hi, Dear friends: I post my problem detail in there: https://stackoverflow.com/questions/63239923/the-nginx-upstream-configuration-do-not-distinguish-domain why can not differentiate the two upstreams? Please take a look at this. Posted at Nginx Forum: https://forum.nginx.org/