From d3993875fa07cab5dfde437b9042070dc045fa5b Mon Sep 17 00:00:00 2001 From: Aengus Walton Date: Wed, 16 Oct 2013 14:06:57 +0200 Subject: [PATCH] Match and apply LocationMatch rules --- sample/apache_ldap.conf | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/sample/apache_ldap.conf b/sample/apache_ldap.conf index 50ee7f962337bf..f7df159e33527b 100755 --- a/sample/apache_ldap.conf +++ b/sample/apache_ldap.conf @@ -31,15 +31,15 @@ # Proxy for _aliases and .*/_search - - ProxyPassMatch http://127.0.0.1:9200 - ProxyPassReverse http://127.0.0.1:9200 + + ProxyPassMatch http://127.0.0.1:9200/$1 + ProxyPassReverse http://127.0.0.1:9200/$1 - + # Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected) - - ProxyPassMatch http://127.0.0.1:9200 - ProxyPassReverse http://127.0.0.1:9200 + + ProxyPassMatch http://127.0.0.1:9200/$1$2 + ProxyPassReverse http://127.0.0.1:9200/$1$2 # Optional disable auth for a src IP (eg: your monitoring host or subnet)