Prepare server details and upgrade nginx