소스 검색

Added _mapping proxy settings

Rashid Khan 12 년 전
부모
커밋
02f2ff29f1
2개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      sample/apache_ldap.conf
  2. 4 0
      sample/nginx.conf

+ 1 - 1
sample/apache_ldap.conf

@@ -31,7 +31,7 @@
   </Proxy>
  
   # Proxy for _aliases and .*/_search
-  <LocationMatch "^(/_aliases|.*/_search)$">
+  <LocationMatch "^(/_aliases|.*/_search|.*/_mapping)$">
     ProxyPassMatch http://127.0.0.1:9200
     ProxyPassReverse http://127.0.0.1:9200
   </LocationMatch>

+ 4 - 0
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/.*$ {