File tree 1 file changed +3
-19
lines changed
1 file changed +3
-19
lines changed Original file line number Diff line number Diff line change 1
1
$HTTP["host"] =~ "kibana" {
2
2
3
- server.document-root = "/var/www /kibana/src"
3
+ server.document-root = "/var/ww /kibana/src"
4
4
auth.backend = "plain"
5
5
auth.backend.plain.userfile = "/etc/lighttpd/kibanapassword"
6
6
@@ -13,27 +13,11 @@ $HTTP["host"] =~ "kibana" {
13
13
)
14
14
)
15
15
16
- $HTTP["url"] =~ "^/kibana-int/temp.*$" {
16
+ $HTTP["url"] =~ "^/kibana-int/(dashboard/| temp) .*$" {
17
17
proxy.balance = "hash"
18
18
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
19
19
}
20
- $HTTP["url"] =~ "^/kibana-int/dashboard/.*$" {
21
- proxy.balance = "hash"
22
- proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
23
- }
24
- $HTTP["url"] =~ "^/_mappings$" {
25
- proxy.balance = "hash"
26
- proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
27
- }
28
- $HTTP["url"] =~ "^/_search$" {
29
- proxy.balance = "hash"
30
- proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
31
- }
32
- $HTTP["url"] =~ "^/_nodes$" {
33
- proxy.balance = "hash"
34
- proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
35
- }
36
- $HTTP["url"] =~ "^/_aliases$" {
20
+ $HTTP["url"] =~ "^.*/_(mapping|search|nodes|aliases)$" {
37
21
proxy.balance = "hash"
38
22
proxy.server = ( "" => ( ( "host" => "127.0.0.1", "port" => "9200" ) ) )
39
23
}
You can’t perform that action at this time.
0 commit comments