From 75d1b69fc57d84596c0c811bbd47736c13b1e3ff Mon Sep 17 00:00:00 2001 From: Sebastien Date: Sun, 2 Jan 2022 21:33:27 +0100 Subject: [PATCH] =?UTF-8?q?Mise=20=C3=A0=20jour=20de=20'Nginx/Modules.md'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Nginx/Modules.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Nginx/Modules.md b/Nginx/Modules.md index e6269f2..4e38cd6 100644 --- a/Nginx/Modules.md +++ b/Nginx/Modules.md @@ -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 - ```