Welcome! Log In Create A New Profile

Advanced

Re: nginx http auth module query

February 16, 2012 11:08PM
Thanks for the response.

For this -

location /index.php {
error_page 401 403 /not_authorized.html;
auth_request /auth.php;
proxy_pass http://hiphop:4247;
}

Does it mean that auth.php should be available via the url - http://hiphop:4247/auth.php ?

location = /auth.php {
# FCGI stuff or whatever PHP CGI you're using.

# auth.php should return 401 or 403 when auth process fails, return
# 200 otherwise
}

Does it enter this section after it gets 2xx response from auth.php?
Subject Author Posted

nginx http auth module query

karanj February 16, 2012 10:49PM

Re: nginx http auth module query

António P. P. Almeida February 16, 2012 11:02PM

Re: nginx http auth module query

karanj February 16, 2012 11:08PM

Re: nginx http auth module query

António P. P. Almeida February 16, 2012 11:30PM

Re: nginx http auth module query

karanj February 17, 2012 03:53AM

Re: nginx http auth module query

karanj February 17, 2012 03:57AM

Re: nginx http auth module query

Maxim Dounin February 17, 2012 06:28AM

Re: nginx http auth module query

karanj February 17, 2012 08:30AM

Re: nginx http auth module query

karanj February 17, 2012 08:38AM

Re: nginx http auth module query

Maxim Dounin February 17, 2012 09:20AM

Re: nginx http auth module query

karanj February 17, 2012 10:31AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 211
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready