Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 1 | parameters: |
| 2 | _param: |
| 3 | nginx_proxy_openstack_web_host: ${_param:cluster_public_host} |
| 4 | nginx_proxy_openstack_web_proxy_host: ${_param:cluster_vip_address} |
Petr Michalec | 4d7fdbd | 2017-02-02 10:14:36 +0100 | [diff] [blame] | 5 | nginx_proxy_openstack_web_buffer_size: |
| 6 | number: 4 |
| 7 | size: 256 |
Vasyl Saienko | a3b38f4 | 2019-02-06 12:05:24 +0200 | [diff] [blame] | 8 | # starting from 2019.2.0 horizon is running under haproxy in HA mode. |
| 9 | nginx_server_site_nginx_proxy_openstack_web_enabled: False |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 10 | nginx: |
| 11 | server: |
| 12 | enabled: true |
| 13 | site: |
| 14 | nginx_proxy_openstack_web: |
Vasyl Saienko | a3b38f4 | 2019-02-06 12:05:24 +0200 | [diff] [blame] | 15 | enabled: ${_param:nginx_server_site_nginx_proxy_openstack_web_enabled} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 16 | type: nginx_proxy |
| 17 | name: openstack_web |
| 18 | proxy: |
Oleh Hryhorov | a3f8a38 | 2018-12-04 16:54:54 +0200 | [diff] [blame] | 19 | host: ${_param:horizon_server_bind_address} |
Petr Michalec | 4d7fdbd | 2017-02-02 10:14:36 +0100 | [diff] [blame] | 20 | # TODO: port must be configurable, as some deployments might have HAproxy over prx nodes |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 21 | port: 8078 |
Petr Michalec | 4d7fdbd | 2017-02-02 10:14:36 +0100 | [diff] [blame] | 22 | size: 10000m |
| 23 | timeout: 43200 |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 24 | protocol: http |
| 25 | websocket: true |
Petr Michalec | 4d7fdbd | 2017-02-02 10:14:36 +0100 | [diff] [blame] | 26 | request_buffer: false |
| 27 | buffer: |
| 28 | ${_param:nginx_proxy_openstack_web_buffer_size} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 29 | host: |
Vasyl Saienko | ebe9062 | 2018-11-12 11:03:18 +0200 | [diff] [blame] | 30 | name: ${_param:horizon_public_host} |
| 31 | port: ${_param:horizon_public_port} |
| 32 | protocol: ${_param:horizon_public_protocol} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 33 | ssl: ${_param:nginx_proxy_ssl} |
| 34 | nginx_ssl_redirect_openstack_web: |
Vasyl Saienko | a3b38f4 | 2019-02-06 12:05:24 +0200 | [diff] [blame] | 35 | enabled: ${_param:nginx_server_site_nginx_proxy_openstack_web_enabled} |
Ondrej Smola | 03ff34e | 2016-12-01 01:30:33 +0100 | [diff] [blame] | 36 | type: nginx_redirect |
| 37 | name: openstack_web_redirect |
| 38 | host: |
| 39 | name: ${_param:nginx_proxy_openstack_web_host} |
| 40 | port: 80 |
sgarbuz | 5ddfd74 | 2018-08-15 10:45:55 +0300 | [diff] [blame] | 41 | apache: |
| 42 | server: |
| 43 | bind: |
| 44 | listen_default_ports: false |