You could also run the latest nginx with Docker.
https://hub.docker.com/_/nginx

I would also have suggested snap, but generally server apps have poor snap support, and thus no nginx package is...