From 59d56f621fd972f61070934041acbaa1e3fb1d00 Mon Sep 17 00:00:00 2001 From: Michael Russell Date: Fri, 14 Feb 2014 10:05:38 +0100 Subject: [PATCH] fixed revrse proxy not redirecting _mapping --- sample/nginx.conf | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sample/nginx.conf b/sample/nginx.conf index f94da371e0212..b2b94db186f11 100644 --- a/sample/nginx.conf +++ b/sample/nginx.conf @@ -37,6 +37,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; + } location ~ ^/.*/_mapping/field/\*$ { proxy_pass http://127.0.0.1:9200; proxy_read_timeout 90;