
Add charmhelpers.contrib.hardening and calls to install, config-changed, upgrade-charm and update-status hooks. Also add new config option to allow one or more hardening modules to be applied at runtime. Change-Id: Icf48829e010d35d7d7a4ccd547eae6a8c511c04e
13 lines
480 B
YAML
13 lines
480 B
YAML
# NOTE: this file contains the default configuration for the 'apache' hardening
|
|
# code. If you want to override any settings you must add them to a file
|
|
# called hardening.yaml in the root directory of your charm using the
|
|
# name 'apache' as the root key followed by any of the following with new
|
|
# values.
|
|
|
|
common:
|
|
apache_dir: '/etc/apache2'
|
|
|
|
hardening:
|
|
traceenable: 'off'
|
|
allowed_http_methods: "GET POST"
|
|
modules_to_disable: [ cgi, cgid ] |