auth_request with vhost conf files

lsces nginx-forum at forum.nginx.org
Tue Apr 7 00:35:58 UTC 2020


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
defined server?

Posted at Nginx Forum: https://forum.nginx.org/read.php?2,287570,287572#msg-287572



More information about the nginx mailing list