Can't register device when odm-web is running on nginx

Nginx doesn't support post requests without a Content-Length header...