mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Add /_nodes route to example reverse proxy config
This commit is contained in:
@@ -31,7 +31,7 @@
|
||||
</Proxy>
|
||||
|
||||
# Proxy for _aliases and .*/_search
|
||||
<LocationMatch "^(/_aliases|.*/_search|.*/_mapping)$">
|
||||
<LocationMatch "^(/_aliases|/_nodes|.*/_search|.*/_mapping)$">
|
||||
ProxyPassMatch http://127.0.0.1:9200
|
||||
ProxyPassReverse http://127.0.0.1:9200
|
||||
</LocationMatch>
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user