aboutsummaryrefslogtreecommitdiffhomepage
path: root/mioproxy.local.hcl
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-11-02 20:04:43 +0900
committernsfisis <nsfisis@gmail.com>2025-11-02 20:04:43 +0900
commit3ee122e2eb6102b5fa100017c4a7ffead23bdc1d (patch)
tree4c8598861a1ec758e787ce123e4e8fbd72eb6a36 /mioproxy.local.hcl
parente9c287f2a8dfc477f42efbae69a667b341f21982 (diff)
downloadnsfisis.dev-3ee122e2eb6102b5fa100017c4a7ffead23bdc1d.tar.gz
nsfisis.dev-3ee122e2eb6102b5fa100017c4a7ffead23bdc1d.tar.zst
nsfisis.dev-3ee122e2eb6102b5fa100017c4a7ffead23bdc1d.zip
feat(nuldoc): host each site in separate domains
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
+ }
+ }
}