Comments on How to Install Nginx with ModSecurity on Ubuntu 15.04
In this tutorial, I will show you how to install mod_security for the fast Nginx web server on Ubuntu 15.04. I will configure ModSecurity as a standalone module and then build Nginx from source to include ModSecurity.
14 Comment(s)
Comments
Good tutorial. I use a custom nginx server with rtmp-module for streaming. I took your systemd configuration and applied it to my installation, thanks for that.
Can I install this on Ubuntu 14.04 server? Thanks
Command not found error is shown for :
# systemctl daemon-reload
systemctl: command not found
I am using ubuntu 14.04, is that the issue?
Hello friends!
Some one have modsec working perfectly? because the default rules blocks in my WP a lot of the funtions.
Have a nice day
...does not work.
systemctl: command not found
Are you sure that you have Ubuntu 14.04 installed and not a different Ubuntu version?
Worked like a charm... Awesome post...
systemctl command not found on Ubuntu 14.04, because ubuntu 14.04 is using sysvinit as service configuration.
And on 15.04 version, now use systemd as service configuration.
systemctl wordk on sysytemd operatingsystem.
how to add white list to reverse nginx?
wget http://nginx.org/download/nginx-1.8.0.tar.gz
add
tar -zxvf nginx-1.8.0.tar.gz
Dead at step 4 "Can't exec "aclocal" no such file, autoreconf failed to run"
These sort of posts need to auto expire because they are a waste of time.
This post tells you in the title that it is for Ubuntu 15.04 only and not for any other Ubuntu versions. Are you sure that you use the right Ubuntu version and not e.g. Ubuntu 16.04?
Good tutorial, I got it mostly working howerver, I'm getting a bunch of these errors in my error.log file and I'm trying to figure out why. Pages are not loading correctly. Any insight would be great:
Execution error - PCRE limits exceeded (-8)
Sorry, section 4 does not work