We have created apt and yum repositories for nginx users on Linux. They are available on http://nginx.org/packages/
for CentOS/RHEL 5 and 6, Ubuntu 10.04 and Debian 6. There are plans to update packages as soon
as new stable nginx versions are released.
To add nginx yum repository fnginx.repo file has to be created in /etc/yum.cond.d/ directory.
In CentOS case nginx.repo should look like: