From bb8d510516888fe1cda506c1a5816cee339eace3 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Wed, 17 Jan 2024 23:38:54 +0900 Subject: add files --- mioproxy.local.hcl | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 mioproxy.local.hcl (limited to 'mioproxy.local.hcl') diff --git a/mioproxy.local.hcl b/mioproxy.local.hcl new file mode 100644 index 0000000..ee7d06a --- /dev/null +++ b/mioproxy.local.hcl @@ -0,0 +1,18 @@ +server http { + host = "127.0.0.1" + port = 8000 + + proxy albatross { + from { + path = "/x/albatross/" + } + to { + host = "127.0.0.1:8000" + port = 8001 + } + auth basic { + realm = "Auth required /x/albatross/" + credential_file = "albatross.htpasswd" + } + } +} -- cgit v1.2.3-70-g09d2