mirror of
https://github.com/grafana/grafana.git
synced 2025-01-26 08:16:59 -06:00
25 lines
772 B
Plaintext
25 lines
772 B
Plaintext
$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" ) ) )
|
|
}
|
|
}
|