mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-12-31 13:49:11 +03:00
Removed the "git checkout -b experimental" command from all recipes as there's no experimental branch anymore. See issue #1437
@@ -43,9 +43,6 @@ export MODSECURITY_INC="/opt/ModSecurity/headers/"
|
||||
export MODSECURITY_LIB="/opt/ModSecurity/src/.libs/"
|
||||
cd /opt/
|
||||
git clone https://github.com/SpiderLabs/ModSecurity-nginx
|
||||
cd /opt/ModSecurity-nginx
|
||||
git checkout -b experimental origin/experimental
|
||||
cd /opt
|
||||
wget http://nginx.org/download/nginx-1.9.2.tar.gz
|
||||
tar -xvzf nginx-1.9.2.tar.gz
|
||||
cd /opt/nginx-1.9.2
|
||||
@@ -96,9 +93,6 @@ make install
|
||||
```sh
|
||||
cd /opt/
|
||||
git clone https://github.com/SpiderLabs/ModSecurity-nginx
|
||||
cd /opt/ModSecurity-nginx
|
||||
git checkout -b experimental origin/experimental
|
||||
cd /opt
|
||||
wget http://nginx.org/download/nginx-1.9.2.tar.gz
|
||||
tar -xvzf nginx-1.9.2.tar.gz
|
||||
cd /opt/nginx-1.9.2
|
||||
@@ -131,9 +125,6 @@ $ make install
|
||||
```sh
|
||||
$ cd /opt/
|
||||
$ git clone https://github.com/SpiderLabs/ModSecurity-nginx
|
||||
$ cd /opt/Modsecurity-nginx
|
||||
$ git checkout -b experimental origin/experimental
|
||||
$ cd /opt/
|
||||
$ wget https://openresty.org/download/ngx_openresty-1.9.7.1.tar.gz
|
||||
$ tar -xvzf ngx_openresty-1.9.7.1.tar.gz
|
||||
$ ./configure --add-module=/opt/ModSecurity-nginx
|
||||
@@ -233,9 +224,6 @@ make install
|
||||
```sh
|
||||
cd /opt/
|
||||
git clone https://github.com/SpiderLabs/ModSecurity-nginx
|
||||
cd /opt/ModSecurity-nginx
|
||||
git checkout -b experimental origin/experimental
|
||||
cd /opt
|
||||
wget http://nginx.org/download/nginx-1.9.2.tar.gz
|
||||
tar -xvzf nginx-1.9.2.tar.gz
|
||||
cd /opt/nginx-1.9.2
|
||||
|
||||
Reference in New Issue
Block a user