Welcome! Log In Create A New Profile

Advanced

Re: auth_request with vhost conf files

April 08, 2020 05:12AM
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" is running. "proxy_pass" is for "something other than this
> server{} block", so if this "local link" is effectively remote, then
> proxy_pass is probably good to use.

This is where I am struggling a bit ;) and is probably the real question. The web side is handled by nginx, and the dynamic stuff by php-fpm, so I need 'auth' to run an instance of php-fpm ... or at least that is where I think I am ... except of cause auth is processing requests that would not normally use php at all. So perhaps all I need to do is simply run it like a php file? proxy_pass was working on the local test setups ... but using 'localhost' while the vhost system does not have a single 'localhost' ... I just need to use the right root.
Subject Author Posted

auth_request with vhost conf files

lsces April 06, 2020 05:31PM

Re: auth_request with vhost conf files

lsces April 06, 2020 08:35PM

Re: auth_request with vhost conf files

Francis Daly April 08, 2020 03:16AM

Re: auth_request with vhost conf files

lsces April 08, 2020 05:12AM

Re: auth_request with vhost conf files

Francis Daly April 08, 2020 04:14PM

Re: auth_request with vhost conf files

lsces April 10, 2020 05:55AM

Re: auth_request with vhost conf files

Francis Daly April 14, 2020 06:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 195
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready