|
44 | 44 | 'docroot' => '/var/www/', |
45 | 45 | 'ssl' => 'false', |
46 | 46 | 'redirectmatch_status' => 'permanent', |
47 | | - 'redirectmatch_regexp' => "^/$ #{platforms_params[:root_url]}", |
| 47 | + 'redirectmatch_regexp' => '^/$', |
| 48 | + 'redirectmatch_dest' => platforms_params[:root_url], |
48 | 49 | 'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' }, |
49 | 50 | 'wsgi_process_group' => platforms_params[:wsgi_group], |
50 | 51 | 'wsgi_daemon_process' => platforms_params[:wsgi_group], |
|
76 | 77 | 'docroot' => '/var/www/', |
77 | 78 | 'ssl' => 'false', |
78 | 79 | 'redirectmatch_status' => 'permanent', |
79 | | - 'redirectmatch_regexp' => "^/$ #{platforms_params[:root_url]}", |
| 80 | + 'redirectmatch_regexp' => '^/$', |
| 81 | + 'redirectmatch_dest' => platforms_params[:root_url], |
80 | 82 | 'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' }, |
81 | 83 | 'wsgi_process_group' => platforms_params[:wsgi_group], |
82 | 84 | 'wsgi_daemon_process' => platforms_params[:wsgi_group], |
|
112 | 114 | 'ssl_key' => '/etc/pki/tls/private/httpd.key', |
113 | 115 | 'ssl_ca' => '/etc/pki/tls/certs/ca.crt', |
114 | 116 | 'redirectmatch_status' => 'permanent', |
115 | | - 'redirectmatch_regexp' => "^/$ #{platforms_params[:root_url]}", |
| 117 | + 'redirectmatch_regexp' => '^/$', |
| 118 | + 'redirectmatch_dest' => platforms_params[:root_url], |
116 | 119 | 'wsgi_process_group' => 'horizon-ssl', |
117 | 120 | 'wsgi_daemon_process' => 'horizon-ssl', |
118 | 121 | 'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' } |
|
127 | 130 | 'docroot' => '/var/www/', |
128 | 131 | 'ssl' => 'false', |
129 | 132 | 'redirectmatch_status' => 'permanent', |
130 | | - 'redirectmatch_regexp' => '(.*) https://some.host.tld', |
| 133 | + 'redirectmatch_regexp' => '(.*)', |
| 134 | + 'redirectmatch_dest' => 'https://some.host.tld', |
131 | 135 | 'wsgi_process_group' => platforms_params[:wsgi_group], |
132 | 136 | 'wsgi_daemon_process' => platforms_params[:wsgi_group], |
133 | 137 | 'wsgi_script_aliases' => { platforms_params[:root_url] => '/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi' } |
|
0 commit comments