From 02f2ff29f1f3dff72c06a19e2c53586a42780b16 Mon Sep 17 00:00:00 2001 From: Rashid Khan Date: Fri, 16 Aug 2013 12:45:38 -0700 Subject: [PATCH] Added _mapping proxy settings --- sample/apache_ldap.conf | 2 +- sample/nginx.conf | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/sample/apache_ldap.conf b/sample/apache_ldap.conf index cac2669b0f0..e290d5697f3 100644 --- a/sample/apache_ldap.conf +++ b/sample/apache_ldap.conf @@ -31,7 +31,7 @@ # Proxy for _aliases and .*/_search - + ProxyPassMatch http://127.0.0.1:9200 ProxyPassReverse http://127.0.0.1:9200 diff --git a/sample/nginx.conf b/sample/nginx.conf index ad314d0229f..50a365ade84 100644 --- a/sample/nginx.conf +++ b/sample/nginx.conf @@ -29,6 +29,10 @@ server { proxy_pass http://127.0.0.1:9200; proxy_read_timeout 90; } + location ~ ^/.*/_mapping$ { + proxy_pass http://127.0.0.1:9200; + proxy_read_timeout 90; + } # Password protected end points location ~ ^/kibana-int/dashboard/.*$ {