21a4e5beb1
Resync charm-helpers to pickup the latest code for calculation of worker process configuration, creating better default worker configuration when deploying in LXD containers. Switch the skew between public and admin processes to favour public 0.75/0.25 as the public API endpoints of a service will typically get a larger number of hits. Fixup unit test for minor behavioural change in charm-helpers. Change-Id: I4ab1d28f907ce29d5602b48ba7a438fc3690277c Closes-Bug: 1665270 Closes-Bug: 1686049
17 lines
608 B
YAML
17 lines
608 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 ]
|
|
servertokens: 'Prod'
|
|
honor_cipher_order: 'on'
|
|
cipher_suite: 'ALL:+MEDIUM:+HIGH:!LOW:!MD5:!RC4:!eNULL:!aNULL:!3DES'
|