Skip to content

Commit

Permalink
Added _mapping proxy settings
Browse files Browse the repository at this point in the history
  • Loading branch information
Rashid Khan committed Aug 16, 2013
1 parent 93b48a7 commit 02f2ff2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sample/apache_ldap.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
4 changes: 4 additions & 0 deletions sample/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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/.*$ {
Expand Down

0 comments on commit 02f2ff2

Please sign in to comment.