From 3ee122e2eb6102b5fa100017c4a7ffead23bdc1d Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 2 Nov 2025 20:04:43 +0900 Subject: feat(nuldoc): host each site in separate domains --- mioproxy.local.hcl | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'mioproxy.local.hcl') 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 + } + } } -- cgit v1.2.3-70-g09d2