Merge "Trivial fix horizon's healthcheck when SSL turned on"
This commit is contained in:
commit
80758f44d4
@ -341,7 +341,7 @@ heat_api_cfn_listen_port: "{{ heat_api_cfn_port }}"
|
|||||||
|
|
||||||
horizon_port: "80"
|
horizon_port: "80"
|
||||||
horizon_tls_port: "443"
|
horizon_tls_port: "443"
|
||||||
horizon_listen_port: "{{ horizon_port }}"
|
horizon_listen_port: "{{ horizon_tls_port if horizon_enable_tls_backend | bool else horizon_port }}"
|
||||||
|
|
||||||
influxdb_http_port: "8086"
|
influxdb_http_port: "8086"
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@ ServerSignature Off
|
|||||||
ServerTokens Prod
|
ServerTokens Prod
|
||||||
TraceEnable off
|
TraceEnable off
|
||||||
|
|
||||||
<VirtualHost *:{{ horizon_listen_port }}>
|
<VirtualHost {{ api_interface_address }}:{{ horizon_listen_port }}>
|
||||||
LogLevel warn
|
LogLevel warn
|
||||||
ErrorLog /var/log/kolla/horizon/horizon.log
|
ErrorLog /var/log/kolla/horizon/horizon.log
|
||||||
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
LogFormat "%{X-Forwarded-For}i %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
|
||||||
@ -50,11 +50,6 @@ TraceEnable off
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</VirtualHost>
|
</VirtualHost>
|
||||||
|
|
||||||
{# FIXME(yoctozepto): enabling of either tls will break the other if not enabled too #}
|
|
||||||
{% if kolla_enable_tls_external | bool or kolla_enable_tls_internal | bool %}
|
|
||||||
Header edit Location ^http://(.*)$ https://$1
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
<IfModule mod_deflate.c>
|
<IfModule mod_deflate.c>
|
||||||
# Compress HTML, CSS, JavaScript, Json, Text, XML and fonts
|
# Compress HTML, CSS, JavaScript, Json, Text, XML and fonts
|
||||||
AddOutputFilterByType DEFLATE application/javascript
|
AddOutputFilterByType DEFLATE application/javascript
|
||||||
|
5
releasenotes/notes/bug-1933846-122a62e9724b638c.yaml
Normal file
5
releasenotes/notes/bug-1933846-122a62e9724b638c.yaml
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes horizon's healthcheck when SSL is turned on.
|
||||||
|
`LP#1933846 <https://launchpad.net/bugs/1933846>`__
|
Loading…
Reference in New Issue
Block a user