Welcome! Log In Create A New Profile

Advanced

Re: auth_request with vhost conf files

Francis Daly
April 08, 2020 03:16AM
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 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.

If you control the IP address of the proxy_pass'ed server, you could
define an "upstream" of that name, with the suitable "server" address; or
you could use the IP address directly here, and then use "proxy_ssl_name"
and/or "proxy_set_header" and friends, to ensure validation work as
it should.

Good luck with it,

f
--
Francis Daly francis@daoine.org
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 157
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready