summaryrefslogtreecommitdiffhomepage
path: root/conf.example.hcl
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-10-09 08:42:33 +0900
committernsfisis <nsfisis@gmail.com>2023-10-09 08:42:33 +0900
commitceb264cb65f4a62531e11b3ce666f931074b778a (patch)
treeb727df20ca1c6ef35c4dcea2798f29e19a2035c9 /conf.example.hcl
parentd137a764d050e3d5296da2830a32f6d83bdb364f (diff)
downloadmioproxy-ceb264cb65f4a62531e11b3ce666f931074b778a.tar.gz
mioproxy-ceb264cb65f4a62531e11b3ce666f931074b778a.tar.zst
mioproxy-ceb264cb65f4a62531e11b3ce666f931074b778a.zip
support basic authv0.2.0
Diffstat (limited to 'conf.example.hcl')
-rw-r--r--conf.example.hcl35
1 files changed, 0 insertions, 35 deletions
diff --git a/conf.example.hcl b/conf.example.hcl
deleted file mode 100644
index dfe18f8..0000000
--- a/conf.example.hcl
+++ /dev/null
@@ -1,35 +0,0 @@
-server http {
- host = "127.0.0.1"
- port = 8000
-
- proxy a {
- from {
- host = "a.localhost"
- }
- to {
- host = "127.0.0.1"
- port = 8001
- }
- }
-
- proxy b {
- from {
- path = "/b/"
- }
- to {
- host = "127.0.0.1"
- port = 8002
- }
- }
-
- proxy c {
- from {
- host = "c.localhost"
- path = "/c/"
- }
- to {
- host = "127.0.0.1"
- port = 8003
- }
- }
-}