Re: AW: Nginx multiple upstream with different protocols

2017-02-23 Thread c0nw0nk
For a server {} that you want to make both universally compatible with both http port 80 and https port 443 ssl requests. This was my solution for my own sites. #inside http block upstream proxy_web_rack { #port 80 unsecured requests server 172.16.0.1:80; } upstream proxy_web_rack_ssl { #port 443

Re: Nginx multiple upstream with different protocols

2017-02-23 Thread Andrei
*Gesendet:* Mittwoch, 22. Februar 2017 18:52:00 > *An:* nginx ML > *Cc:* B.R. > *Betreff:* Re: Nginx multiple upstream with different protocols > > I suggest you proxy traffic to an upstream group, and then use > failure/timeout parameters there with proper tuning to retry request

AW: Nginx multiple upstream with different protocols

2017-02-23 Thread Kilian Ries
h, 22. Februar 2017 15:58:26 An: nginx@nginx.org<mailto:nginx@nginx.org> Betreff: RE: Nginx multiple upstream with different protocols If you are SSL on the frontend (server directive) why would you want to proxy between ssl/non-ssl on the upstreams? Can they not be the same? I don'

Re: Nginx multiple upstream with different protocols

2017-02-22 Thread B.R. via nginx
* nginx [mailto:nginx-boun...@nginx.org] *On Behalf Of *Kilian Ries > *Sent:* Wednesday, February 22, 2017 9:55 AM > *To:* nginx@nginx.org > *Subject:* Nginx multiple upstream with different protocols > > > > Hi, > > > > i'm trying to setup two Nginx upstreams (one w

AW: Nginx multiple upstream with different protocols

2017-02-22 Thread Kilian Ries
ric S Gesendet: Mittwoch, 22. Februar 2017 15:58:26 An: nginx@nginx.org Betreff: RE: Nginx multiple upstream with different protocols If you are SSL on the frontend (server directive) why would you want to proxy between ssl/non-ssl on the upstreams? Can they not be the same? I don't get wh

RE: Nginx multiple upstream with different protocols

2017-02-22 Thread Cox, Eric S
9:55 AM To: nginx@nginx.org Subject: Nginx multiple upstream with different protocols Hi, i'm trying to setup two Nginx upstreams (one with HTTP and one with HTTPS) and the proxy_pass module should decide which of the upstreams is serving "valid" content. The config s

Nginx multiple upstream with different protocols

2017-02-22 Thread Kilian Ries
Hi, i'm trying to setup two Nginx upstreams (one with HTTP and one with HTTPS) and the proxy_pass module should decide which of the upstreams is serving "valid" content. The config should look like this: upstream proxy_backend { server xxx.xx.188.53; server xxx.xx.188.53:4