-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change api routes and mount ui on root
- Loading branch information
1 parent
0e2054c
commit 868aa32
Showing
27 changed files
with
159 additions
and
87 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
[package] | ||
name = "odd-box" | ||
description = "dead simple reverse proxy server" | ||
version = "0.1.7-preview" | ||
version = "0.1.7-preview2" | ||
edition = "2021" | ||
authors = ["Olof Blomqvist <[email protected]>"] | ||
repository = "https://github.com/OlofBlomqvist/odd-box" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
#:schema https://raw.githubusercontent.com/OlofBlomqvist/odd-box/main/odd-box-schema-v2.json | ||
version = "V2" | ||
alpn = false | ||
http_port = 8080 | ||
admin_api_port = 1234 | ||
ip = "0.0.0.0" | ||
tls_port = 4343 | ||
auto_start = false | ||
root_dir = "/tmp1" | ||
log_level = "Error" | ||
port_range_start = 4200 | ||
default_log_format = "standard" | ||
lets_encrypt_account_email = "" | ||
env_vars = [ | ||
{ key = "some_key", value = "some_val" }, | ||
{ key = "another_key", value = "another_val" }, | ||
] | ||
|
||
[[remote_target]] | ||
host_name = "caddy-remote.localtest.me" | ||
backends = [ | ||
{ address="127.0.0.1", port=9999}, | ||
{ address="127.0.0.1", port=8888}, | ||
{ address="127.0.0.1", port=10000} | ||
] | ||
|
||
[[hosted_process]] | ||
host_name = "caddy.localtest.me" | ||
bin = "caddy" | ||
args = [ | ||
"run", | ||
"--config", | ||
"./CaddyTest1", | ||
"--adapter", | ||
"caddyfile" | ||
] | ||
port = 9999 | ||
|
||
[[hosted_process]] | ||
host_name = "caddy2.localtest.me" | ||
bin = "caddy" | ||
args = [ | ||
"run", | ||
"--config", | ||
"./CaddyTest2", | ||
"--adapter", | ||
"caddyfile" | ||
] | ||
port = 8888 | ||
|
||
[[hosted_process]] | ||
host_name = "caddy3.localtest.me" | ||
bin = "caddy" | ||
args = [ | ||
"run", | ||
"--config", | ||
"./CaddyTest3", | ||
"--adapter", | ||
"caddyfile" | ||
] | ||
port = 10000 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
web-ui/dist/assets/args-input-D9ysyiFG.js → web-ui/dist/assets/args-input-hI3vUIGv.js
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.