blob: 2c85f6bd4dcd858031f57372d34e8f9995e98d5e [file] [log] [blame]
Oleh Hryhorov9182eeb2018-11-23 17:14:41 +02001parameters:
2 _param:
3 apache_ssl:
4 enabled: false
5 apache_horizon_ssl: ${_param:apache_ssl}
Oleh Hryhorov93f7fda2018-12-04 14:53:16 +02006 apache_horizon_api_address: ${_param:horizon_server_bind_address}
Oleh Hryhorov9182eeb2018-11-23 17:14:41 +02007 apache_horizon_api_host: ${linux:network:fqdn}
8 apache:
9 server:
Oleh Hryhorov38521f92018-12-05 13:08:28 +020010 bind:
11 listen_default_ports: false
Oleh Hryhorov9182eeb2018-11-23 17:14:41 +020012 enabled: true
13 default_mpm: event
14 modules:
15 - wsgi
16 site:
17 horizon:
18 enabled: false
19 available: true
20 type: wsgi
21 name: openstack_web
22 ssl: ${_param:apache_horizon_ssl}
23 wsgi:
24 daemon_process: horizon
25 processes: 3
26 threads: 10
27 user: horizon
28 group: horizon
29 display_name: '%{GROUP}'
30 script_alias: '/ /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'
31 application_group: '%{GLOBAL}'
32 authorization: 'On'
33 limits:
34 request_body: 0
35 host:
36 address: ${_param:apache_horizon_api_address}
37 name: ${_param:apache_horizon_api_host}
38 port: 8078
39 locations:
40 - uri: /static
41 path: /usr/share/openstack-dashboard/static
42 directories:
43 dashboard_static:
44 path: /usr/share/openstack-dashboard/static
45 order: 'allow,deny'
46 allow: 'from all'
47 modules:
48 mod_expires.c:
49 ExpiresActive: 'On'
50 ExpiresDefault: '"access 6 month"'
51 mod_deflate.c:
52 SetOutputFilter: 'DEFLATE'
53 dashboard_wsgi:
54 path: /usr/share/openstack-dashboard/openstack_dashboard/wsgi
55 order: 'allow,deny'
56 allow: 'from all'
57 log:
58 custom:
Dmitry Kalashnik4c9f3432019-03-14 18:42:59 +040059 format: ${_param:apache_site_openstack_horizon_log_format}
Dmitry Kalashnik8f7d96a2019-10-01 17:06:22 +040060 file: '/var/log/apache2/openstack_dashboard_access.log'
Oleh Hryhorov9182eeb2018-11-23 17:14:41 +020061 error:
62 enabled: true
63 level: debug
64 format: '%M'
65 file: '/var/log/apache2/openstack_dashboard_error.log'