Skip to content
This repository has been archived by the owner on Dec 27, 2022. It is now read-only.

Commit

Permalink
Merge pull request #41 from daanemanz/proxy-for-kibana-3-milestone-5
Browse files Browse the repository at this point in the history
Handle proxying for the new Kibana 3 milestone 5
  • Loading branch information
paulczar committed Jan 9, 2014
2 parents 99f9d73 + dcc4aed commit cf87e13
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion templates/default/kibana-apache.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</Proxy>

# Proxy for _aliases and .*/_search
<LocationMatch "^(/_aliases|/_nodes|/.*/_mapping|.*/_search)$">
<LocationMatch "^(/_aliases|/_nodes|/.*/_mapping|/.*/_search|/.*/_aliases)$">
ProxyPassMatch <%= @params[:es_scheme] %><%= @params[:es_server] %>:<%= @params[:es_port] %>
ProxyPassReverse <%= @params[:es_scheme] %><%= @params[:es_server] %>:<%= @params[:es_port] %>
</LocationMatch>
Expand Down
4 changes: 4 additions & 0 deletions templates/default/kibana-nginx.conf.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@ server {
proxy_pass <%= @es_scheme %><%= @es_server %>:<%= @es_port %>;
proxy_read_timeout 90;
}
location ~ ^/.*/_aliases$ {
proxy_pass <%= @es_scheme %><%= @es_server %>:<%= @es_port %>;
proxy_read_timeout 90;
}
location ~ ^/kibana-int/dashboard/.*$ {
proxy_pass <%= @es_scheme %><%= @es_server %>:<%= @es_port %>;
proxy_read_timeout 90;
Expand Down

0 comments on commit cf87e13

Please sign in to comment.