Hello All,
I want to add two modules to my nginx :
https://github.com/gnosek/nginx-upstream-fair
http://wiki.nginx.org/HttpUploadProgressModule
I previously installed nginx very simple with YUM like this:
Create the file named /etc/yum.repos.d/nginx.repo with the following contents:
[nginx]
name=nginx repo
baseurl=http://nginx.org/packages/centos/5/$basearch/
gpgcheck=0
enabled=1
yum install nginx
But now I want to add these modules, i'm still new with linux.. so should I first delete the old nginx?
yum remove nginx
and then download the gid:
git clone https://github.com/gnosek/nginx-upstream-fair.git
git clone https://github.com/masterzen/nginx-upload-progress-module.git
and then reinstall with:
wget http://nginx.org/download/nginx-1.2.0.tar.gz
tar -zxvf nginx-1.2.0.tar.gz
cd nginx-1.2.0
./configure --with-http_ssl_module --add-module=/nginx-upstream-fair --add-module=/nginx-upload-progress-module
make
make install
Am I forgetting something? should i add --sbin-path=/usr/local/sbin ? or do i need to add more options? or could i install these modules a other way? When I remove with Yum remove nginx do i lose my nginx settings in /var/nginx (ofcourse i will back them before i run remove but always good to ask?)