aboutsummaryrefslogtreecommitdiffhomepage
path: root/mioproxy.local.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'mioproxy.local.hcl')
-rw-r--r--mioproxy.local.hcl30
1 files changed, 30 insertions, 0 deletions
diff --git a/mioproxy.local.hcl b/mioproxy.local.hcl
index e344f86..73ea7b1 100644
--- a/mioproxy.local.hcl
+++ b/mioproxy.local.hcl
@@ -4,6 +4,26 @@ server http {
host = "127.0.0.1"
port = 8000
+ proxy default {
+ from {
+ host = "localhost:8000"
+ }
+ to {
+ host = "127.0.0.1"
+ port = 8001
+ }
+ }
+
+ proxy about {
+ from {
+ host = "about.localhost:8000"
+ }
+ to {
+ host = "127.0.0.1"
+ port = 8001
+ }
+ }
+
proxy blog {
from {
host = "blog.localhost:8000"
@@ -13,4 +33,14 @@ server http {
port = 8001
}
}
+
+ proxy slides {
+ from {
+ host = "slides.localhost:8000"
+ }
+ to {
+ host = "127.0.0.1"
+ port = 8001
+ }
+ }
}