Re: auth_request with vhost conf files

2020-04-10 Thread lsces
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

Re: auth_request with vhost conf files

2020-04-08 Thread lsces
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

Re: auth_request with vhost conf files

2020-04-06 Thread lsces
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

auth_request with vhost conf files

2020-04-06 Thread lsces
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

Re: Prevent direct access to files but allow download from site

2020-04-05 Thread lsces
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 look