Media missing on new Word Press LEMP install

When I moved this website to Digital Ocean on a fresh LEMP install I had an issue with the media that I had transferred over not appearing (in posts or in the media listing). I tried several things but couldn’t get it to work. When I tried uploading a new image I got...