Excellent, both versions work. Thanks. My problem was, that I had the root directive inside 'location / {}', so the other location didn't pick that up. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,5038,5073#msg-5073