is WSS or WS a $scheme?

2022-09-11 Thread Michael Williams
Is it possible to recognize $scheme = WSS within the NGINX conf file ? Many thanks [image: linkedin] ___ nginx mailing list -- nginx@nginx.org To unsubscribe send an email to nginx-le...@n

Re: negation in the map directive of nginx

2022-09-11 Thread Francis Daly
On Sun, Sep 11, 2022 at 11:22:39AM -0400, libresco_27 wrote: Hi there, > I tried the approach you suggested and it still doesn't seem to work. > This is what I am doing right now :- > > limit_req_zone $default_client_id zone=sample_zone:50k rate=3r/m sync; > map $client_id $default_client_id {

Re: help with https to http and WSS to WS reverse proxy conf

2022-09-11 Thread Michael Williams
Francis thanks very much for taking the time to look at this. Based on your suggestion, I commented out these 3 lines and it got rid of the looping. I thought the same process that wants the WS feed also looked for inbound on port 80, but that is not the case after all. location @ {

Re: negation in the map directive of nginx

2022-09-11 Thread libresco_27
Thanks Francis for your response. I tried the approach you suggested and it still doesn't seem to work. This is what I am doing right now :- limit_req_zone $default_client_id zone=sample_zone:50k rate=3r/m sync; map $client_id $default_client_id { Z ""; $client_id $client_id;

Re: help with https to http and WSS to WS reverse proxy conf

2022-09-11 Thread Francis Daly
On Sat, Sep 10, 2022 at 05:47:29PM -0700, Michael Williams wrote: Hi there, > Can someone with fresh eye please review this config and tell me why > requests are infinite redirection to https? I suspect that whatever you are proxy_pass'ing to is seeing that it is getting a http connection, and i