Browse Source

Merge remote-tracking branch 'upstream/master'

Rashid Khan 12 years ago
parent
commit
8686bc6fc9
1 changed files with 24 additions and 0 deletions
  1. 24 0
      sample/lighttpd_basic.conf

+ 24 - 0
sample/lighttpd_basic.conf

@@ -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" ) ) )
+    }
+}