Henry den Hengst's picture

It was the nginx reversed proxy inbetween that needed a little extra configuration:

http://www.cyberciti.biz/faq/linux-unix-bsd-nginx-413-request-entity-too...