Actually, in my case the fix was to add: fastcgi_param HTTPS on; Posted at Nginx Forum: http://forum.nginx.org/read.php?2,218610,218706#msg-218706