I've found the cause. In gzip_types I've had types listed with comma inbetween, while they should be with space. What's weird that configs got parsed partially - stuff seem to be working except for quirks like this. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,20567,20650#msg-20650