Use secure websocket for nova serial console proxy when TLS enabled
This resolves an issue where the web browser would complain that it was trying to connect to insecure websocket when using HTTPS with horizon. Change-Id: Ib75cc2bc1b3811bc31badd5fda3db3ed0c59b119 Closes-Bug: #1841914
This commit is contained in:
parent
c3665aa327
commit
94d824dd0e
@ -346,6 +346,7 @@ nova_spicehtml5proxy_listen_port: "{{ nova_spicehtml5proxy_port }}"
|
||||
nova_serialproxy_fqdn: "{{ kolla_external_fqdn }}"
|
||||
nova_serialproxy_port: "6083"
|
||||
nova_serialproxy_listen_port: "{{ nova_serialproxy_port }}"
|
||||
nova_serialproxy_protocol: "{{ 'wss' if kolla_enable_tls_external | bool else 'ws' }}"
|
||||
|
||||
octavia_internal_fqdn: "{{ kolla_internal_fqdn }}"
|
||||
octavia_external_fqdn: "{{ kolla_external_fqdn }}"
|
||||
|
@ -97,7 +97,7 @@ enabled = false
|
||||
{% if enable_nova_serialconsole_proxy | bool %}
|
||||
[serial_console]
|
||||
enabled = true
|
||||
base_url = ws://{{ nova_serialproxy_fqdn }}:{{ nova_serialproxy_port }}/
|
||||
base_url = {{ nova_serialproxy_protocol }}://{{ nova_serialproxy_fqdn }}:{{ nova_serialproxy_port }}/
|
||||
serialproxy_host = {{ api_interface_address }}
|
||||
serialproxy_port = {{ nova_serialproxy_listen_port }}
|
||||
proxyclient_address = {{ api_interface_address }}
|
||||
|
Loading…
Reference in New Issue
Block a user