There is problem with client_max_body_size on SSL enabled. I just got same problem on lasted nginx version and it ignores this directive in secure connections. Still looking for solution???? please help Posted at Nginx Forum: http://forum.nginx.org/read.php?2,242188,242189#msg-242189