Thanks for your reply. update the proxy_ignore_headers with Vary fixed the issue Posted at Nginx Forum: https://forum.nginx.org/read.php?2,277358,277378#msg-277378