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 ?