Also I dont know if it is possible with nginx but if you really want to move authentication out of the content server intot he proxy server, all your need to do is turn on basic auth in the content server and simply have the proxy server write the appropriate auth header into the requests it forwards to the content server.
|