Re: auth_request + php-fpm + POST request

2015-04-13 Thread Arno0x0x
Hi Maxim, Thanks for your answer. I'll rather do as you said rather than changing the method from POST to GET. As per your recommended example, I never managed to make it work (proxy_pass stuff): I went into some resolver issue, and then into some infinite loop on internal requests. So I gave up.

Re: auth_request + php-fpm + POST request

2015-04-13 Thread Maxim Dounin
Hello! On Sat, Apr 11, 2015 at 09:21:30AM -0400, Arno0x0x wrote: > Hi, > > I'm using the auth_request module to enable custom (2fa) authentication to > protect my whole website, no matter the various applications I host on this > website. So the auth_request directive is set at the "server" leve

auth_request + php-fpm + POST request

2015-04-11 Thread Arno0x0x
Hi, I'm using the auth_request module to enable custom (2fa) authentication to protect my whole website, no matter the various applications I host on this website. So the auth_request directive is set at the "server" level. The authentication subrequest works fine, except for client POST requests