Set content-length on responses for nginx