Configures novnc proxy to listen on local-ipv4
Currently novnc proxy listens on all interfaces. This patch changes it to listen on the host management interface (local-ipv4) like the rest of the nova services. This is a pre-requisite to making vncproxy sit behind haproxy and stunnel. Change-Id: Iba3e35165a1e842ce0fc604ec92ddbd0009e99c2
This commit is contained in:
parent
2aa90bee9c
commit
0d449a42df
|
@ -64,6 +64,14 @@ glance_api_servers={{glance.protocol}}://{{glance.host}}:{{glance.port}}
|
|||
novncproxy_base_url=http://{{nova.public_ip}}:6080/vnc_auto.html
|
||||
{{/nova.public_ip}}
|
||||
novncproxy_port=6080
|
||||
{{#haproxy}}
|
||||
{{#stunnel.connect_ip}}
|
||||
novncproxy_host={{stunnel.connect_ip}}
|
||||
{{/stunnel.connect_ip}}
|
||||
{{^stunnel.connect_ip}}
|
||||
novncproxy_host={{local-ipv4}}
|
||||
{{/stunnel.connect_ip}}
|
||||
{{/haproxy}}
|
||||
vncserver_proxyclient_address={{local-ipv4}}
|
||||
vncserver_listen=0.0.0.0
|
||||
|
||||
|
|
Loading…
Reference in New Issue