http_hardening

Puppet module to enable, configure and manage secure http headers on web servers.

alexandre menezes

amenezes

9,607 downloads

6,184 latest version

4.3 quality score

Version information

  • 0.2.7 (latest)
  • 0.2.6
  • 0.2.5
  • 0.2.4 (deleted)
  • 0.2.3
  • 0.2.2
  • 0.2.1
  • 0.2.0
  • 0.1.2
  • 0.1.1
  • 0.1.0 (deleted)
released Apr 12th 2016
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.0.0 < 5.0.0
  • Debian
    ,
    Ubuntu
    ,
    RedHat
    ,
    CentOS
    ,
    Fedora

Start using this module

Documentation

amenezes/http_hardening — version 0.2.7 Apr 12th 2016

Table of Contents

  1. Overview
  2. Module Description
  3. Usage
  1. Custom Headers
  2. Contact

1. Overview


Puppet module to enable, configure and manage secure http headers on web servers.

2. Module Description


This module provides an easy way to enable, configure and manage secure http headers on:

  • apache2 (debian like distros);
  • httpd (redhat like distros);
  • nginx;
  • lighttpd.

Standard options available are:

For more information about secure HTTP headers see:

3. Usage


Installation

Use

  • Basic usage for apache2 (Debian like distros) and httpd (RedHat like distros). This will enable mod_headers and set standard secure http headers.

    note: RedHat (like distros) users eventually must allow mod_headers on selinux.

  • Basic usage on nginx.

  • Custom configuration on apache2 (Debian like distros) or httpd (RedHat like distros).

  • Custom configuration on nginx.

  • Custom configuration on lighttpd.

4. Custom Headers

  • Custom HTTP Headers configuration on apache2 or httpd.

For more information see: man mod_headers

  • Custom HTTP Headers configuration on lighttpd.

5. Contact

author: alexandre menezes
twitter: @ale_menezes
owasp: secure headers project forum