Apache2

Channel Revision Published Runs on
latest/stable 41 08 Aug 2023
Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/candidate 34 11 Nov 2020
Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
latest/edge 42 24 Nov 2023
Ubuntu 22.04 Ubuntu 20.04 Ubuntu 18.04 Ubuntu 16.04 Ubuntu 14.04
juju deploy apache2
Show information

Platform:

Ubuntu
20.04 18.04 16.04 14.04
  • apt-key-id | string

    A PGP key id. This is used with PPA and the source option to import a PGP public key for verifying repository signatures. This value must match the PPA for apt-source.

  • apt-source | string

    From where to install packages. This is the PPA source line. Note that due to a bug in software-properties add-apt-repository cannot add the ondrej/apache2 ppa, so the default value here is a full sources line.

  • config_change_command | string

    Default: reload

    The command to run whenever config has changed. Accepted values are "reload" or "restart" - any other value will mean neither is executed after a config change (which may be desired, if you're running a production server and would rather handle these out of band). Note: some variables like the mpm settings require a full restart to take effect.

  • disable_modules | string

    Default: status autoindex

    List of modules to disable

  • enable_modules | string

    List of modules to enable

  • extra_packages | string

    List of extra packages to be installed (e.g. commercial GeoIP package). This can be a string of packages space or comma separated. i.e "screen cowsay" or "screen,cowsay".

  • lb_balancer_timeout | int

    Default: 60

    How long the backends in mod_proxy_balancer will timeout, in seconds

  • logrotate_count | int

    Default: 365

    The number of days we want to retain logs for

  • logrotate_dateext | boolean

    Default: True

    Use daily extension like YYYMMDD instead of simply adding a number

  • logrotate_rotate | string

    Default: daily

    daily, weekly, monthly, or yearly?

  • mpm_maxclients | int

    Default: 2048

    Maximum number of connections that will be processed simultaneously. As of version 2.3.13, this is known as MaxRequestWorkers.

  • mpm_maxrequestsperchild | int

    Limit on the number of connections that an individual child server will handle during its life. As of version 2.3.9, this is known as MaxConnectionsPerChild.

  • mpm_maxsparethreads | int

    Default: 75

    Maximum number of idle threads available to handle request spikes.

  • mpm_minsparethreads | int

    Default: 25

    Minimum number of idle threads available to handle request spikes.

  • mpm_serverlimit | int

    Default: 128

    Upper limit on configurable number of processes. Changing this value requires a full restart.

  • mpm_startservers | int

    Default: 2

    Number of child server processes created at startup.

  • mpm_threadlimit | int

    Default: 64

    Sets the upper limit on the configurable number of threads per child process. Changing this value requires a full restart.

  • mpm_threadsperchild | int

    Default: 64

    Number of threads created by each child process.

  • mpm_type | string

    Default: worker

    worker or prefork

  • nagios_check_http_params | string

    The parameters to pass to the nrpe plugin check_http.

  • nagios_context | string

    Default: juju

    Used by the nrpe-external-master subordinate charm. A string that will be prepended to instance name to set the host name in nagios. So for instance the hostname would be something like: juju-postgresql-0 If you're running multiple environments with the same services in them this allows you to differentiate between them.

  • nagios_servicegroups | string

    A comma-separated list of nagios servicegroups. If left empty, the nagios_context will be used as the servicegroup

  • openid_provider | string

    Comma seperated list of OpenID providers for authentication.

  • package_status | string

    Default: install

    The status of service-affecting packages will be set to this value in the dpkg database. Useful valid values are "install" and "hold".

  • saml_provider | string

    Saml provider for authentication.

  • server_signature | string

    Default: On

    Security setting. Set to one of On Off EMail

  • server_tokens | string

    Default: OS

    Security setting. Set to one of Full OS Minimal Minor Major Prod

  • servername | string

    ServerName for vhost, defaults to the units public-address

  • ssl_cert | string

    base64 encoded server certificate. If the keyword 'SELFSIGNED' is used, the certificate and key will be autogenerated as self-signed.

  • ssl_certlocation | string

    Name and location of ssl certificate in charm/data directory. If not found, will ignore. Basename of this file will be used as the basename of the cert rooted at /etc/ssl/certs. Can be used in conjunction with the ssl_cert parameter to specify the cert as a configuration setting.

  • ssl_chain | string

    base64 encoded chain certificates file. If ssl_cert is specified as SELFSIGNED, this will be ignored.

  • ssl_chainlocation | string

    Name and location of the ssl chain file. Basename of this file will be used as the basename of the chain file rooted at /etc/ssl/certs.

  • ssl_cipher_suite | string

    Default: EECDH+AESGCM+AES128:EDH+AESGCM+AES128:EECDH+AES128:EDH+AES128:ECDH+AESGCM+AES128:aRSA+AESGCM+AES128:ECDH+AES128:DH+AES128:aRSA+AES128:EECDH+AESGCM:EDH+AESGCM:EECDH:EDH:ECDH+AESGCM:aRSA+AESGCM:ECDH:DH:aRSA:HIGH:!MEDIUM:!aNULL:!NULL:!LOW:!3DES:!DSS:!EXP:!PSK:!SRP

    List of server cipher suites.

  • ssl_honor_cipher_order | string

    Default: On

    Enable server cipher suite preference.

  • ssl_key | string

    base64 encoded server certificate key. If ssl_cert is specified as SELFSIGNED, this will be ignored.

  • ssl_keylocation | string

    Name and location of ssl keyfile in charm/data directory. If not found, will ignore. Basename of this file will be used as the basename of the key rooted at /etc/ssl/private. Can be used in conjuntion with the ssl_key parameter to specify the key as a configuration setting.

  • ssl_protocol | string

    Default: ALL -SSLv2 -SSLv3

    SSL Protocols to enable.

  • trace_enabled | string

    Default: On

    Security setting. Set to one of On Off extended

  • use_rsyslog | boolean

    Change logging behaviour to log both access and error logs via rsyslog

  • vhost_http_template | string

    Apache vhost template (base64 encoded).

  • vhost_https_template | string

    Apache vhost template (base64 encoded).

  • vhost_template_vars | string

    Additional custom variables for the vhost templating, in python dict format