Skip to content

Commit

Permalink
Merge pull request #121 from andytayloruk/fix_apache_proxying
Browse files Browse the repository at this point in the history
ProxyPass doesn't work with LocationMatch, needs to be ProxyPassMatch
  • Loading branch information
Rashid Khan committed May 28, 2013
2 parents 9a48b67 + 80fc992 commit 481ef2d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sample/apache_ldap.conf
Expand Up @@ -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>

Expand Down

0 comments on commit 481ef2d

Please sign in to comment.