Mise à jour de 'Nginx/Modules.md'
This commit is contained in:
@@ -40,20 +40,21 @@ Ce passage n'est nécessaire que si on souhaite utiliser le module dynamique Mod
|
||||
|
||||
```shell
|
||||
# Installation de ModSecurity (Library) -> /usr/local/modsecurity/
|
||||
cd ~/ngx-modules-src/ModSecurity
|
||||
cd ModSecurity
|
||||
git submodule init
|
||||
git submodule update
|
||||
./build.sh
|
||||
./configure
|
||||
make
|
||||
sudo make install
|
||||
cd -
|
||||
```
|
||||
|
||||
Compilation des modules dynamiques
|
||||
----------------------------------
|
||||
|
||||
```shell
|
||||
cd ~/ngx-modules-src/nginx-${VERSION}/
|
||||
cd nginx-${VERSION}
|
||||
|
||||
# Compilation de ModSecurity & Header-More
|
||||
./configure --with-compat --add-dynamic-module=../ModSecurity-nginx --add-dynamic-module=../ModSecurity-nginx
|
||||
@@ -64,4 +65,7 @@ Installation des modules
|
||||
------------------------
|
||||
```shell
|
||||
sudo cp objs/*.so /etc/nginx/modules/
|
||||
|
||||
# Retour au répertoire parent
|
||||
cd -
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user