apache

Manages apache including ajp proxy, thin proxy, and mod_security.
EvenUp Inc

EvenUp Inc

evenup

11,473 downloads

9,004 latest version

4.1 quality score

Version information

  • 4.0.0 (latest)
  • 3.8.0
  • 3.7.0
  • 3.6.0
  • 3.5.0
  • 3.4.0
  • 3.3.0
  • 3.2.2
  • 3.2.1
  • 3.2.0
  • 3.1.0
  • 3.0.0
  • 2.0.0
released Jul 3rd 2019

Start using this module

Documentation

evenup/apache — version 4.0.0 Jul 3rd 2019

What is it?

A puppet module that installs apache with mod_evasive and mod_security (optional). This module has been written and tested on CentOS 6 and is primarily used for configuring apache as a proxy for Tomcat via AJP and other services via TCP, but it also has support for mod_passenger, mod_python, and mod_wsgi as well.

Disabling mod_security by vhost, rule, or IP are provided. JSON logging for vhosts allowing easy import into logstash is available.

Support for SSL certificates, password files, or any other sensitive information may be installed installed to a limted access directory through apache::securefile.

Monitoring by sensu is provided, but additional monitoring solutions can easily be added.

Usage:

Generic apache install

Adding a NameVirtualHost on port 80:

Generic config files:

Tomcat AJP proxy with http -> https redirect:

TCP proxy:

Static content:

Known Issues:

Only tested on CentOS 6

TODO:


[ ] Make mod_evasive optional [ ] Make mod_status optional and configurable [ ] Allow disabling mod_security by file [ ] Improve documentation, complex module

License:


Released under the Apache 2.0 licence

Contribute:

  • Fork it
  • Create a topic branch
  • Improve/fix (with spec tests)
  • Push new topic branch
  • Submit a PR