summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-10-09 00:02:13 +0900
committernsfisis <nsfisis@gmail.com>2023-10-09 00:02:13 +0900
commit273ef30991b4e186db27903c489cb0e1bda15f30 (patch)
tree1ed133f42b7161154e20fa44f164b1384a5beb20
parent25bf19b1cf99cd3ebe01c5fb96a6b6b13f528f8e (diff)
downloadmioproxy-273ef30991b4e186db27903c489cb0e1bda15f30.tar.gz
mioproxy-273ef30991b4e186db27903c489cb0e1bda15f30.tar.zst
mioproxy-273ef30991b4e186db27903c489cb0e1bda15f30.zip
add example config
-rw-r--r--conf.example.hcl14
1 files changed, 14 insertions, 0 deletions
diff --git a/conf.example.hcl b/conf.example.hcl
new file mode 100644
index 0000000..8f1a56c
--- /dev/null
+++ b/conf.example.hcl
@@ -0,0 +1,14 @@
+server http {
+ host = "127.0.0.1"
+ port = 8000
+
+ proxy a {
+ from {
+ host = "a.localhost"
+ }
+ to {
+ host = "127.0.0.1"
+ port = 8001
+ }
+ }
+}