Ruslan, you're a hero! I just commented the following line in my existing config #proxy_cache_bypass $dontcache; and everything works now! I won't be able to comprehend such nginx's behaviour w/o your help, greatly appreciated. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,249880,249912#msg-249912