Thanks Maxim, I think I get it now, request 'body' can be consumed at most one time, this is a design decision which aims at protecting system ressources. Best, Marcby amvtek - Nginx Mailing List - English
Spassiba Maxim ! Can we consume request body both in : * /auth url * and the latter private url Best Marcby amvtek - Nginx Mailing List - English
Nice. However in the case we are chasing, /authenticate needs the body of the request as it has to verify a digital signature calculated on it. Thank you for your insight anyway. Best, Marcby amvtek - Nginx Mailing List - English
I am trying to address the following use case : ----------------------------------------------------------------------- * A 'post request' is send to Nginx which forward it to a first upstream server "upstream 1". "upstream 1" is in charge of authenticating the request origin, and do some accounting in order to determine if the request can be authorized ... * If OK, we wouby amvtek - Nginx Mailing List - English