Install and update nginx using apt.