This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, create nginx user account: | |
useradd -c 'Nginx user' -d /var/lib/nginx -s /bin/false nginx | |
Then download nginx and nginx-upstream-fair* module sources: | |
cd /usr/src | |
wget http://sysoev.ru/nginx/nginx-0.8.53.tar.gz | |
wget --no-check-certificate http://github.com/gnosek/nginx-upstream-fair/tarball/master | |
Extract those files and you'll got two directories: | |
/usr/src/nginx-0.8.53 |
NewerOlder