For RHEL the nginx version in the distro repos is too old.  Add the nginx repos.