diff --git a/sample/apache_ldap.conf b/sample/apache_ldap.conf
index 31d395470c8..cac2669b0f0 100644
--- a/sample/apache_ldap.conf
+++ b/sample/apache_ldap.conf
@@ -32,13 +32,13 @@
# Proxy for _aliases and .*/_search
- ProxyPass http://127.0.0.1:9200
+ ProxyPassMatch http://127.0.0.1:9200
ProxyPassReverse http://127.0.0.1:9200
# Proxy for kibana-int/{dashboard,temp} stuff (if you don't want auth on /, then you will want these to be protected)
- ProxyPass http://127.0.0.1:9200
+ ProxyPassMatch http://127.0.0.1:9200
ProxyPassReverse http://127.0.0.1:9200