diff --git a/sample/apache_ldap.conf b/sample/apache_ldap.conf index e290d5697f3..50ee7f96233 100755 --- a/sample/apache_ldap.conf +++ b/sample/apache_ldap.conf @@ -31,7 +31,7 @@ # Proxy for _aliases and .*/_search - + ProxyPassMatch http://127.0.0.1:9200 ProxyPassReverse http://127.0.0.1:9200 diff --git a/sample/nginx.conf b/sample/nginx.conf index 6015897cf7b..b1e2f362e60 100755 --- a/sample/nginx.conf +++ b/sample/nginx.conf @@ -25,6 +25,10 @@ server { proxy_pass http://127.0.0.1:9200; proxy_read_timeout 90; } + location ~ ^/_nodes$ { + proxy_pass http://127.0.0.1:9200; + proxy_read_timeout 90; + } location ~ ^/.*/_search$ { proxy_pass http://127.0.0.1:9200; proxy_read_timeout 90; @@ -53,4 +57,4 @@ server { auth_basic_user_file /etc/nginx/conf.d/kibana.myhost.org.htpasswd; } } -} \ No newline at end of file +}