Browse Source

Merge pull request #121 from andytayloruk/fix_apache_proxying

ProxyPass doesn't work with LocationMatch, needs to be ProxyPassMatch
Rashid Khan 12 years ago
parent
commit
481ef2d138
1 changed files with 2 additions and 2 deletions
  1. 2 2
      sample/apache_ldap.conf

+ 2 - 2
sample/apache_ldap.conf

@@ -32,13 +32,13 @@
  
   # Proxy for _aliases and .*/_search
   <LocationMatch "^(/_aliases|.*/_search)$">
-    ProxyPass http://127.0.0.1:9200
+    ProxyPassMatch http://127.0.0.1:9200
     ProxyPassReverse http://127.0.0.1:9200
   </LocationMatch>
  
   # Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected)
   <LocationMatch "^(/kibana-int/dashboard/|/kibana-int/temp).*$">
-    ProxyPass http://127.0.0.1:9200
+    ProxyPassMatch http://127.0.0.1:9200
     ProxyPassReverse http://127.0.0.1:9200 
   </LocationMatch>