-
-
Save paolodina/59ef468cda1f46882ec5113ed7b0b283 to your computer and use it in GitHub Desktop.
Revisions
-
minostro revised this gist
Apr 29, 2014 . 1 changed file with 13 additions and 13 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ 1.- Get into the src folder, download & extract nginx source * `cd ~/src` * `curl -O http://nginx.org/download/nginx-1.7.0.tar.gz` * `tar -xzvf nginx-1.7.0.tar.gz` * `cd nginx-1.7.0` 2.- Configuring the source @@ -28,26 +28,26 @@ 4.- Creating folders * `mkdir -p ~/tmp/nginx/fcgi ~/tmp/nginx/proxy ~/tmp/nginx/client` 5.- Modifying the Path * `export PATH=/home/axion/local/sbin:$PATH` * `source ~/.bashrc` 6.- Create a custom app on Webfaction 7.- The configuration file * `mv ~/local/etc/nginx.conf ~/local/etc/nginx.conf.backup` 8.- Edit the configuration file as needed & check it * `nginx -t` 9.- Start, Stopping & Reloading * `nginx` * `nginx -s stop` * `nginx -s reload` * `nginx -t` -
minostro revised this gist
Apr 29, 2014 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -23,8 +23,8 @@ 3.- Compile & Install * `make` * `make install` 4.- Creating folders -
minostro revised this gist
Apr 29, 2014 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -38,12 +38,15 @@ 6.- Create a custom app on Webfaction 7.- The configuration file `mv ~/local/etc/nginx.conf ~/local/etc/nginx.conf.backup` 8.- Edit the configuration file as needed & check it `nginx -t` 9.- Start, Stopping & Reloading `nginx` `nginx -s stop` `nginx -s reload` -
minostro revised this gist
Apr 29, 2014 . 1 changed file with 36 additions and 22 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,36 +1,50 @@ 1.- Get into the src folder, download & extract nginx source `cd ~/src` `curl -O http://nginx.org/download/nginx-1.7.0.tar.gz` `tar -xzvf nginx-1.7.0.tar.gz` `cd nginx-1.7.0` 2.- Configuring the source ./configure --prefix=$HOME/local/nginx \ --sbin-path=$HOME/local/sbin/nginx \ --conf-path=$HOME/local/etc/nginx.conf \ --error-log-path=$HOME/logs/user/nginx/error.log \ --http-log-path=$HOME/logs/user/nginx/access.log \ --pid-path=$HOME/local/run/nginx/nginx.pid \ --lock-path=$HOME/local/lock/nginx.lock \ --http-client-body-temp-path=$HOME/tmp/nginx/client/ \ --http-proxy-temp-path=$HOME/tmp/nginx/proxy/ \ --http-fastcgi-temp-path=$HOME/tmp/nginx/fcgi/ \ --with-http_flv_module \ --with-http_ssl_module \ --with-http_gzip_static_module 3.- Compile & Install `make` `make install` 4.- Creating folders `mkdir -p ~/tmp/nginx/fcgi ~/tmp/nginx/proxy ~/tmp/nginx/client` 5.- Modifying the Path `export PATH=/home/axion/local/sbin:$PATH` `source ~/.bashrc` 6.- Create a custom app on Webfaction 7.- The configuration file `mv ~/local/etc/nginx.conf ~/local/etc/nginx.conf.backup` 8.- Edit the configuration file as needed & check it `nginx -t` 9.- Start, Stopping & Reloading `nginx` `nginx -s stop` `nginx -s reload` `nginx -t` -
minostro revised this gist
Apr 29, 2014 . 1 changed file with 36 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,36 @@ 1.- Get into the src folder, download & extract nginx source cd ~/src curl -O http://nginx.org/download/nginx-1.7.0.tar.gz tar -xzvf nginx-1.7.0.tar.gz cd nginx-1.7.0 2.- Configuring the source ./configure --prefix=$HOME/local/nginx \ --sbin-path=$HOME/local/sbin/nginx \ --conf-path=$HOME/local/etc/nginx.conf \ --error-log-path=$HOME/logs/user/nginx/error.log \ --http-log-path=$HOME/logs/user/nginx/access.log \ --pid-path=$HOME/local/run/nginx/nginx.pid \ --lock-path=$HOME/local/lock/nginx.lock \ --http-client-body-temp-path=$HOME/tmp/nginx/client/ \ --http-proxy-temp-path=$HOME/tmp/nginx/proxy/ \ --http-fastcgi-temp-path=$HOME/tmp/nginx/fcgi/ \ --with-http_flv_module \ --with-http_ssl_module \ --with-http_gzip_static_module 3.- Compile & Install make make install 4.- Creating folders mkdir -p ~/tmp/nginx/fcgi ~/tmp/nginx/proxy ~/tmp/nginx/client 5.- Modifying the Path export PATH=/home/axion/local/sbin:$PATH source ~/.bashrc -
minostro revised this gist
Apr 29, 2014 . No changes.There are no files selected for viewing
-
minostro revised this gist
Apr 29, 2014 . 1 changed file with 3 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ 1.-get into the src folder, download & extract nginx source `cd ~/src curl -O http://nginx.org/download/nginx-1.2.1.tar.gz tar -xzvf nginx-1.2.1.tar.gz cd nginx-1.2.1` -
minostro created this gist
Apr 29, 2014 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ # get into the src folder, download & extract nginx source cd ~/src curl -O http://nginx.org/download/nginx-1.2.1.tar.gz tar -xzvf nginx-1.2.1.tar.gz cd nginx-1.2.1