blob: 4cf7820db9c3ec7fac9db78b83ef62b2984b0b56 [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:
10 enabled: true
11 default_mpm: event
12 modules:
13 - wsgi
14 site:
15 horizon:
16 enabled: false
17 available: true
18 type: wsgi
19 name: openstack_web
20 ssl: ${_param:apache_horizon_ssl}
21 wsgi:
22 daemon_process: horizon
23 processes: 3
24 threads: 10
25 user: horizon
26 group: horizon
27 display_name: '%{GROUP}'
28 script_alias: '/ /usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'
29 application_group: '%{GLOBAL}'
30 authorization: 'On'
31 limits:
32 request_body: 0
33 host:
34 address: ${_param:apache_horizon_api_address}
35 name: ${_param:apache_horizon_api_host}
36 port: 8078
37 locations:
38 - uri: /static
39 path: /usr/share/openstack-dashboard/static
40 directories:
41 dashboard_static:
42 path: /usr/share/openstack-dashboard/static
43 order: 'allow,deny'
44 allow: 'from all'
45 modules:
46 mod_expires.c:
47 ExpiresActive: 'On'
48 ExpiresDefault: '"access 6 month"'
49 mod_deflate.c:
50 SetOutputFilter: 'DEFLATE'
51 dashboard_wsgi:
52 path: /usr/share/openstack-dashboard/openstack_dashboard/wsgi
53 order: 'allow,deny'
54 allow: 'from all'
55 log:
56 custom:
57 format: >-
58 %v:%p %{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %D %O \"%{Referer}i\" \"%{User-Agent}i\"
59 error:
60 enabled: true
61 level: debug
62 format: '%M'
63 file: '/var/log/apache2/openstack_dashboard_error.log'