Oleh Hryhorov | 9182eeb | 2018-11-23 17:14:41 +0200 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | apache_ssl: |
| 4 | enabled: false |
| 5 | apache_horizon_ssl: ${_param:apache_ssl} |
Oleh Hryhorov | 93f7fda | 2018-12-04 14:53:16 +0200 | [diff] [blame] | 6 | apache_horizon_api_address: ${_param:horizon_server_bind_address} |
Oleh Hryhorov | 9182eeb | 2018-11-23 17:14:41 +0200 | [diff] [blame] | 7 | apache_horizon_api_host: ${linux:network:fqdn} |
| 8 | apache: |
| 9 | server: |
Oleh Hryhorov | 38521f9 | 2018-12-05 13:08:28 +0200 | [diff] [blame^] | 10 | bind: |
| 11 | listen_default_ports: false |
Oleh Hryhorov | 9182eeb | 2018-11-23 17:14:41 +0200 | [diff] [blame] | 12 | 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: |
| 59 | format: >- |
| 60 | %v:%p %{X-Forwarded-For}i %h %l %u %t \"%r\" %>s %D %O \"%{Referer}i\" \"%{User-Agent}i\" |
| 61 | error: |
| 62 | enabled: true |
| 63 | level: debug |
| 64 | format: '%M' |
| 65 | file: '/var/log/apache2/openstack_dashboard_error.log' |