Turn off nginx proxy buffers, bump timeouts, and make port configurable.