Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've noticed that the official Amazon repos only host nginx 0.8 which is now considered a legacy release. Short of manually compiling from source what must I do to upgrade to the stable 1.0 version of nginx via yum? Does anyone know of Amazon's reasoning to not include the 1.0 release? If there's some bug or known issue I'm fine sticking with 0.8.

share|improve this question

Amazon Linux is compatible with CentOS 5 repositories, so you can follow the instructions at to add those to your instances.

Generally, distributions intended for server usage wait until the next release of the distribution to include major new releases of packaged software. You wouldn't want to do yum update and find out that your application suddenly stopped working because nginx 1.0 has breaking changes.

share|improve this answer

Personally, I prefer to build manually, dropping it into /opt/nginx-$VERSION/. This way you can retain other versions and it's fairly painless to change your init scripts once you have them set up as you like and tested the current version. Even if you catch a late-noticed bug, rolling back to an old version is easy. This also does not leave you at the mercy of the distro team to determine the package version that you're going to use. (I can make that decision myself, thank you very much...)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.