help: proxy to https is working websockets is not!

2022-02-15 Thread mevan
I have the following configuration working. I am able to login to the application and most of it works. However there are certain elements which function as websockets. I see this message in the browser devtools: WebSocket connection to 'wss://erx.asdf.com/ws/stats' failed: edge.min.js:3210 Ho

Re: OAuth/OpenID

2022-02-15 Thread Paul
On 2022-02-15 3:18 p.m., Michael Powell wrote: On Tue, Feb 15, 2022 at 10:08 AM Sergey A. Osokin > wrote: Hi Michael, hope you're doing well. On Tue, Feb 15, 2022 at 08:41:08AM -0500, Michael Powell wrote: > Hello, > > Setting up some we

Re: OAuth/OpenID

2022-02-15 Thread Michael Powell
On Tue, Feb 15, 2022 at 10:08 AM Sergey A. Osokin wrote: > Hi Michael, > > hope you're doing well. > > On Tue, Feb 15, 2022 at 08:41:08AM -0500, Michael Powell wrote: > > Hello, > > > > Setting up some web sites, etc, looking into alternatives to Amazon > > Cognito, for instance, for user and/or

Re: NGINX load balancing - Proxy

2022-02-15 Thread Francis Daly
On Tue, Feb 15, 2022 at 12:31:06PM -0300, Carlos Renato wrote: Hi there, > This what I get when trying to start NGINX with the simplified file. > > [root@proxy conf.d]# cat webgateway.conf > upstream webgateway { >server 192.168.239.151:9090; >server 192.168.239.152:9090; > } > > server

Re: NGINX load balancing - Proxy

2022-02-15 Thread Carlos Renato
Hi, Josef This what I get when trying to start NGINX with the simplified file. [root@proxy conf.d]# cat webgateway.conf upstream webgateway { server 192.168.239.151:9090; server 192.168.239.152:9090; } server { listen 9191; proxy_pass webgateway; } } [root@proxy conf.d]# nginx -t n

Re: NGINX load balancing - Proxy

2022-02-15 Thread Josef Vybíhal
Seems to me, that you are not using stream{} module as noted by Francis, and you are still putting server block to http{}. If not, post nginx -T J. On Tue, Feb 15, 2022 at 4:17 PM Carlos Renato wrote: > > Hi Francis, > Thanks for the reply and willingness to help me. > > [root@proxy conf.d]# cat

Re: NGINX load balancing - Proxy

2022-02-15 Thread Carlos Renato
Hi Francis, Thanks for the reply and willingness to help me. [root@proxy conf.d]# cat teste.conf upstream webgateway { server 192.168.239.151:9090; server 192.168.239.152:9090; } server { listen 9191; proxy_pass webgateway; } [root@proxy conf.d]# I cannot start NGINX. Feb 15 01:

Re: OAuth/OpenID

2022-02-15 Thread Sergey A. Osokin
Hi Michael, hope you're doing well. On Tue, Feb 15, 2022 at 08:41:08AM -0500, Michael Powell wrote: > Hello, > > Setting up some web sites, etc, looking into alternatives to Amazon > Cognito, for instance, for user and/or 'identity' management, integration > with 3P OAuth providers, i.e. Google,

Re: NGINX load balancing - Proxy

2022-02-15 Thread Francis Daly
On Tue, Feb 15, 2022 at 10:29:50AM -0300, Carlos Renato wrote: Hi there, > My file is like this. Untested by me, but I have edited this to now resemble what I think you want... > upstream webgateway { >server 192.168.239.151:9090; >server 192.168.239.152:9090; > } > > server { >lis

Re: OAuth/OpenID

2022-02-15 Thread Michael Powell
Hello, Setting up some web sites, etc, looking into alternatives to Amazon Cognito, for instance, for user and/or 'identity' management, integration with 3P OAuth providers, i.e. Google, Facebook, etc. As I understand it, nginx provides these features, and more? Thank you... Michael W. Powell __

Re: NGINX load balancing - Proxy

2022-02-15 Thread Carlos Renato
Hi Francis, Thanks for the reply. My file is like this. upstream webgateway { server 192.168.239.151:9090; server 192.168.239.152:9090; keepalive 10; } server { listen 9191; server_name proxy.lab.local; location / { proxy_set_header Host $host; proxy_set_heade

Re: NGINX load balancing - Proxy

2022-02-15 Thread Francis Daly
On Tue, Feb 15, 2022 at 08:38:07AM -0300, Carlos Renato wrote: Hi there, > Hello, I would like to use NGINX to balance traffic between two McAfee > (standalone) proxy. nginx as a server will listen for http or https requests; it does not "do" http-proxy requests. (As in: it is not a http (forwar

Re: NGINX load balancing - Proxy

2022-02-15 Thread Carlos Renato
Hello, I would like to use NGINX to balance traffic between two McAfee (standalone) proxy. I've made some advances and I'm able to open an HTTP page. Now, I need the client to open an HTTPS request. Em ter., 15 de fev. de 2022 às 00:54, Sergey A. Osokin escreveu: > Hi Carlos, > > hope you're d