Skip to content

Latest commit

 

History

History
66 lines (33 loc) · 1.58 KB

README.md

File metadata and controls

66 lines (33 loc) · 1.58 KB

pp_apache

Table of Contents

  1. Description
  2. Setup
  3. Usage
  4. Reference
  5. Limitations
  6. Development

Description

Configure Apache HTTP Web Server by using puppetlabs-apache and setting some parameters to strict defaults.

Configuring Apache with puppetlabs-apache is easy, and most of the defaults are sane. However, some settings, especially related to SSL could be set to some stricter defaults. This module takes care of that, but still allows you to override them.

Setup

What pp_apache affects

  • pp_apache uses puppetlabs-apache, and sets purge_vhost_dir to true and default_vhost to false. The mpm_module is set to prefork (to support PHP).

  • In every document root, access to the folder .git is forbidden by default. This can be overrider per vhost.

Setup Requirements

  • puppetlabs-apache is required.

Beginning with pp_apache

Usage

Virtual Hosts

SSL

Let's Encrypt

Reference

Class pp_apache

Parameters

Under-the-hood classes

Limitations

This module was tested on Ubuntu 14.04, but should work with all Ubuntu versions. Only works for Apache >= 2.4.

Development

Pull requests welcome at https://github.com/PACKED-vzw/pp_apache.