Rashid Khan 12 лет назад
Родитель
Сommit
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/.*$ {