Enable the kibana access from the external network
Closes-Bug: #1564440 Change-Id: I8b9ff303d131fab18e51e9f99c64f4e4004f41b4
This commit is contained in:
parent
981d8206ab
commit
5680bf0f24
@ -385,6 +385,16 @@ listen kibana
|
|||||||
{% for host in groups['kibana'] %}
|
{% for host in groups['kibana'] %}
|
||||||
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ kibana_server_port }} check inter 2000 rise 2 fall 5
|
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ kibana_server_port }} check inter 2000 rise 2 fall 5
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
{% if haproxy_enable_external_vip | bool %}
|
||||||
|
|
||||||
|
listen kibana_external
|
||||||
|
bind {{ kolla_external_vip_address }}:{{ kibana_server_port }}
|
||||||
|
acl auth_acl http_auth(kibanauser)
|
||||||
|
http-request auth realm basicauth unless auth_acl
|
||||||
|
{% for host in groups['kibana'] %}
|
||||||
|
server {{ hostvars[host]['ansible_hostname'] }} {{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ kibana_server_port }} check inter 2000 rise 2 fall 5
|
||||||
|
{% endfor %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
listen elasticsearch
|
listen elasticsearch
|
||||||
option dontlog-normal
|
option dontlog-normal
|
||||||
|
Loading…
x
Reference in New Issue
Block a user