diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2013-07-26 10:50:24 +0200 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2013-07-26 10:50:24 +0200 |
| commit | 5fc9ee779269ede62b549fef1849d88424040cda (patch) | |
| tree | e045a0323ad134ecbe1436e85530beca7d9a7c72 | |
| parent | 52cccd81415f93e8e989c8b73b7843be86092a2c (diff) | |
| download | dotfiles-5fc9ee779269ede62b549fef1849d88424040cda.tar.gz dotfiles-5fc9ee779269ede62b549fef1849d88424040cda.zip | |
NGinx is now being hosted in a mercurial repository
| -rwxr-xr-x | nginx_unicorn/nginxman.sh | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/nginx_unicorn/nginxman.sh b/nginx_unicorn/nginxman.sh index 4ee120e..774a628 100755 --- a/nginx_unicorn/nginxman.sh +++ b/nginx_unicorn/nginxman.sh @@ -5,15 +5,15 @@ _cfgdir=/etc/nginx _tmpdir=/var/lib/nginx _nginx=/tmp/nginx -_version="trunk" +_version="default" _configure="./configure" _pwd=`pwd` # Fetch and extract NGinx -if [ $_version == "trunk" ]; then - echo -e "\033[32mFetching NGinx using svn (trunk)\033[0m" - svn co svn://svn.nginx.org/nginx/trunk $_nginx +if [ $_version == "default" ]; then + echo -e "\033[32mFetching NGinx using hg (default)\033[0m" + hg clone http://hg.nginx.org/nginx/ $_nginx _configure="./auto/configure" else echo -e "\033[32mFetching NGinx using wget ($_version)\033[0m" @@ -48,6 +48,7 @@ $_configure \ --with-http_gzip_static_module \ --with-http_realip_module \ --with-http_ssl_module \ + --with-http_spdy_module \ --with-http_stub_status_module \ --with-cc-opt="-O3" |
