Added a chunk callback to upload.
Added nginx proxy port.