In this video we will install nginx web server with modsecurity 3 firewall to secure our web server on centos 7 server. Installation proses will guide you step by step to configure nginx to work with modsecurity, plus we use core rule set from owasp and test it on browser to see the impact and log.
Hope this video is useful!
Link Script and Blog Post :
https://dev.to/henri_sekeladi/install...
Support Me on :
https://paypal.me/mhixv
https://www.buymeacoffee.com/mhixv
Timestamps :
00:00 Preface
00:41 Update Centos 7
01:19 Install Development Tools and Others Libs
02:30 Install and Update GCC lib with Centos SCL
04:32 Build and Install modsecurity from Source
07:32 Download modsecurity-nginx connector
08:03 Install the latest mginx stable version
09:49 Download nginx source code same version with currently installed
10:28 Configure and build nginx with module of modsecurity
12:20 Copy configuration from modsecurity to nginx configuration
14:10 Edit nginx configuration to use modsecurity
16:28 Test the nginx configuration
17:45 Download and load modsecurity rule from owasp crs
20:26 Check the error log of nginx with access denied