summaryrefslogtreecommitdiffhomepage
path: root/example.conf.hcl
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-10-09 10:10:24 +0900
committernsfisis <nsfisis@gmail.com>2023-10-09 10:10:24 +0900
commit638b9f28a59613a128d01ff56ad92258ef3c6d03 (patch)
tree0c2626efb75c5a153a1dbbdf5f3aaad8bad94a52 /example.conf.hcl
parentceb264cb65f4a62531e11b3ce666f931074b778a (diff)
downloadmioproxy-638b9f28a59613a128d01ff56ad92258ef3c6d03.tar.gz
mioproxy-638b9f28a59613a128d01ff56ad92258ef3c6d03.tar.zst
mioproxy-638b9f28a59613a128d01ff56ad92258ef3c6d03.zip
revert: fix unexpected 404 error if host header has port partv0.2.1
Diffstat (limited to 'example.conf.hcl')
-rw-r--r--example.conf.hcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/example.conf.hcl b/example.conf.hcl
index e6f9d51..9274fa4 100644
--- a/example.conf.hcl
+++ b/example.conf.hcl
@@ -4,7 +4,7 @@ server http {
proxy a {
from {
- host = "a.localhost"
+ host = "a.localhost:8000"
}
to {
host = "127.0.0.1"
@@ -30,7 +30,7 @@ server http {
proxy c {
from {
- host = "c.localhost"
+ host = "c.localhost:8000"
path = "/c/"
}
to {