Re: auth_request with vhost conf files

2020-04-14 Thread Francis Daly
On Fri, Apr 10, 2020 at 05:55:40AM -0400, lsces wrote: Hi there, > Your prods have pointed me in the right direction. My initial problem was > not being able to include a parameter in the auth_request... > ...setup is working on three sites currently. Great that you got a solution that does wh

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 Francis Daly
On Wed, Apr 08, 2020 at 05:12:59AM -0400, lsces wrote: > Francis Daly Wrote: Hi there, > > I'm not quite sure where "the thing that handles the /auth/auth.php > > request" is running. "proxy_pass" is for "something other than this > > server{} block", so if this "local link" is effectively remote

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-08 Thread Francis Daly
On Mon, Apr 06, 2020 at 08:35:58PM -0400, lsces wrote: Hi there, > 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 l

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