Merge "Poke a hole through the proxy for cluster health"
This commit is contained in:
commit
de1888e1d4
@ -10,7 +10,7 @@
|
|||||||
|
|
||||||
<% if proxy_elasticsearch == true %>
|
<% if proxy_elasticsearch == true %>
|
||||||
# Proxy for elasticsearch _aliases, .*/_status, and .*/_search.
|
# Proxy for elasticsearch _aliases, .*/_status, and .*/_search.
|
||||||
<LocationMatch "^/elasticsearch/(_aliases|(.*/)?_status|(.*/)?_search)$">
|
<LocationMatch "^/elasticsearch/(_aliases|(.*/)?_status|(.*/)?_search|_cluster/health)$">
|
||||||
ProxyPassMatch http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/$1 connectiontimeout=5 timeout=120
|
ProxyPassMatch http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/$1 connectiontimeout=5 timeout=120
|
||||||
</LocationMatch>
|
</LocationMatch>
|
||||||
ProxyPassReverse /elasticsearch/ http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/
|
ProxyPassReverse /elasticsearch/ http://<%= scope.lookupvar("::logstash::web::discover_nodes")[0] %>/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user