aboutsummaryrefslogtreecommitdiffstats
path: root/example_config.toml
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2020-08-25 19:33:11 -0700
committerBryan Newbold <bnewbold@archive.org>2020-08-25 19:33:11 -0700
commitf6e1f6bddde40f34c84188002189366ed4cd8646 (patch)
treec3a28a12e0c52480f26d47e83374c12b67f38b52 /example_config.toml
parentf3b190a487d69729643d198aff673727fcc2e7a1 (diff)
downloades-public-proxy-f6e1f6bddde40f34c84188002189366ed4cd8646.tar.gz
es-public-proxy-f6e1f6bddde40f34c84188002189366ed4cd8646.zip
bundle an example config file in the executable
Diffstat (limited to 'example_config.toml')
-rw-r--r--example_config.toml12
1 files changed, 12 insertions, 0 deletions
diff --git a/example_config.toml b/example_config.toml
new file mode 100644
index 0000000..cd66403
--- /dev/null
+++ b/example_config.toml
@@ -0,0 +1,12 @@
+
+bind_addr = "127.0.0.1:9292"
+upstream_addr = "127.0.0.1:9200"
+allow_all_indices = false
+
+# Index-level configuration
+[[index]]
+name = "test"
+
+# Configure additional indices by repeating the [[index]] block
+#[[index]]
+#name = "some-other-index"