mirror of
https://github.com/grafana/grafana.git
synced 2025-02-20 11:48:34 -06:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
d580c97a12
@ -31,15 +31,15 @@
|
||||
</Proxy>
|
||||
|
||||
# Proxy for _aliases and .*/_search
|
||||
<LocationMatch "^(/_aliases|.*/_search|.*/_mapping)$">
|
||||
ProxyPassMatch http://127.0.0.1:9200
|
||||
ProxyPassReverse http://127.0.0.1:9200
|
||||
<LocationMatch "^/(_nodes|_aliases|_search|.*/_search|_mapping|.*/_mapping)$">
|
||||
ProxyPassMatch http://127.0.0.1:9200/$1
|
||||
ProxyPassReverse http://127.0.0.1:9200/$1
|
||||
</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).*$">
|
||||
ProxyPassMatch http://127.0.0.1:9200
|
||||
ProxyPassReverse http://127.0.0.1:9200
|
||||
<LocationMatch "^/(kibana-int/dashboard/|kibana-int/temp)(.*)$">
|
||||
ProxyPassMatch http://127.0.0.1:9200/$1$2
|
||||
ProxyPassReverse http://127.0.0.1:9200/$1$2
|
||||
</LocationMatch>
|
||||
|
||||
# Optional disable auth for a src IP (eg: your monitoring host or subnet)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user