Can NGINX Forward the 401 Response to Upstream server to Destroy Temp User data

zaidahmd nginx-forum at forum.nginx.org
Tue Mar 7 12:33:58 UTC 2017


I have and NGINX reverse proxy and upstream server. NGINX authenticates the
incoming request and forwards the request to upstream server, which also
authenticates the request first and then creates a session for the user. 

I want to know if the user session gets expired in NGINX, will NGINX forward
the request to upstream server to also destroy the user session

OR 

NGINX will just destroy the session in its authentication service and will
not inform the upstream server to destroy the session ?

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



More information about the nginx mailing list