Thanks Francis ... Your prods have pointed me in the right direction. My initial problem was not being able to include a parameter in the auth_request and that is where the examples brought up the proxy_pass 'solution' ... of cause what I was missing is that the request for the images are already independent requests, so there is no problem simply calling php-fpm directly. The 'localhost' qby lsces - Nginx Mailing List - English
Francis Daly Wrote: > > do need the > > resolver 8.8.8.8; > > proxy_pass > https://indiastudycircle.org/auth/auth.php?content_id=$query; > > > > but is there another way of getting it to use a local link to the > vhost > > defined server? > > I'm not quite sure where "the thing that handles the /auth/auth.php > request" isby lsces - Nginx Mailing List - English
Working ... the live .conf file had an extra block controlling the image caching which overrides the auth block ... easy when you know how ... The question now is do I have the right setup for proxy_pass do need the resolver 8.8.8.8; proxy_pass https://indiastudycircle.org/auth/auth.php?content_id=$query; but is there another way of getting it to use a local link to the vhost definedby lsces - Nginx Mailing List - English
After a few false starts I've got auth_request passing parameters to php-fpm and my firebird database is allowing control of access to files in the storage filing system. Somewhat defeats the "This is cool because no php is touched for static content" and I have had to produce a slimline version of the access control but it works well with the dynamic pages. Problem is this is all worby lsces - Nginx Mailing List - English
MAXMAXarena Wrote: ------------------------------------------------------- > How can I find out with Nginx if the username and password are real or > that the user/unique_value is still active? > Should I somehow access the database or am I wrong? MAXMAXarena I've just come across this thread looking to answer almost the same question. In my situation I am running the website on PHby lsces - Nginx Mailing List - English