mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
8686bc6fc9
24
sample/lighttpd_basic.conf
Normal file
24
sample/lighttpd_basic.conf
Normal file
@ -0,0 +1,24 @@
|
||||
$HTTP["host"] =~ "kibana" {
|
||||
|
||||
server.document-root = "/var/ww/kibana/src"
|
||||
auth.backend = "plain"
|
||||
auth.backend.plain.userfile = "/etc/lighttpd/kibanapassword"
|
||||
|
||||
index-file.names = ( "index.html", "index.htm" )
|
||||
|
||||
auth.require = ( "/" => (
|
||||
"method" => "basic",
|
||||
"realm" => "Password Protected",
|
||||
"require" => "valid-user"
|
||||
)
|
||||
)
|
||||
|
||||
$HTTP["url"] =~ "^/kibana-int/(dashboard/|temp).*$" {
|
||||
proxy.balance = "hash"
|
||||
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
|
||||
}
|
||||
$HTTP["url"] =~ "^.*/_(mapping|search|nodes|aliases)$" {
|
||||
proxy.balance = "hash"
|
||||
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user