summaryrefslogtreecommitdiffhomepage
path: root/conf.example.hcl
diff options
context:
space:
mode:
Diffstat (limited to 'conf.example.hcl')
-rw-r--r--conf.example.hcl21
1 files changed, 21 insertions, 0 deletions
diff --git a/conf.example.hcl b/conf.example.hcl
index 8f1a56c..dfe18f8 100644
--- a/conf.example.hcl
+++ b/conf.example.hcl
@@ -11,4 +11,25 @@ server http {
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
+ }
+ }
}