
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
19 lines
571 B
Plaintext
19 lines
571 B
Plaintext
###############################################################################
|
|
# WARNING: This configuration file is maintained by Juju. Local changes may
|
|
# be overwritten.
|
|
###############################################################################
|
|
|
|
<Location / >
|
|
<LimitExcept {{ allowed_http_methods }} >
|
|
# http://httpd.apache.org/docs/2.4/upgrading.html
|
|
{% if apache_version > '2.2' -%}
|
|
Require all granted
|
|
{% else -%}
|
|
Order Allow,Deny
|
|
Deny from all
|
|
{% endif %}
|
|
</LimitExcept>
|
|
</Location>
|
|
|
|
TraceEnable {{ traceenable }}
|