Re: Suggestions needed to validate oauth tokens

2022-11-10 Thread Sergey A. Osokin
Hi, hope you're doing well. On Thu, Nov 10, 2022 at 10:30:58PM +0100, SA Squared wrote: [...] > Is there a way to have Nginx pass that token to Keycloak for > validation before allowing access to those files. Here's the link [1] to the reference implementation of OpenID Connect integration with

Suggestions needed to validate oauth tokens

2022-11-10 Thread SA Squared
Hello,   What I am trying to achieve: Serve downloadable content from one host behind Nginx based on the condition the user has a valid token. Basically I would like to serve the files only when the token is validated.   I'm using Nginx not Nginx+.   User -> auth request (send user:pass:grant_ty

Rewrite rules not working

2022-11-10 Thread blason
Hi Team, I am trying to write a below rewrite rule but somehow this is not working and I would really appreicate if someone can help me on this? I have a website http://web1.example.local/web1 Instead I need a rewrite so that if user enters http://web1.example.local it will be diverted to http://

Re: nginx-quic socket() 0.0.0.0:80 failed (94: Socket type not supported)

2022-11-10 Thread Sergey Kandaurov
On Tue, Nov 01, 2022 at 05:02:51PM +0400, Roman Arutyunyan wrote: [..] > # HG changeset patch > # User Roman Arutyunyan > # Date 1667307635 -14400 > # Tue Nov 01 17:00:35 2022 +0400 > # Branch quic > # Node ID 40777e329eea363001186c4bf609d2ef0682bcee > # Parent 598cbf105892bf9d7acc0fc3278b

Use nginx to return a scraped copy of another site

2022-11-10 Thread Tony Mobily
Hi, I have a web site a.com. I own it and run it, but I don't have access to the backend. The pages served by a.com are normal plain HTML pages. I want to run b.com as a duplicate of a.com, with nginx acting as a proxy. The contents would be identical; however, I would apply some minor modificati