[control] Windows Caddy mode: Caddy's admin API on loopback TCP where there is no Unix socket, applies go through Caddy without an edge, control and the Caddy guard as Windows services, a log file

This commit is contained in:
2026-11-17 13:59:12 +01:00
parent fc9e16f1b2
commit acf69a8ed2
8 changed files with 302 additions and 60 deletions
Generated
+19
View File
@@ -1328,6 +1328,7 @@ dependencies = [
"toml",
"url",
"utoipa",
"windows-service",
]
[[package]]
@@ -1359,6 +1360,7 @@ dependencies = [
"rustls",
"serde_json",
"tokio",
"toml",
]
[[package]]
@@ -3553,6 +3555,12 @@ dependencies = [
"rustls-pki-types",
]
[[package]]
name = "widestring"
version = "1.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "72069c3113ab32ab29e5584db3c6ec55d416895e60715417b5b883a357c3e471"
[[package]]
name = "winapi-util"
version = "0.1.11"
@@ -3568,6 +3576,17 @@ version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5"
[[package]]
name = "windows-service"
version = "0.8.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "857224b3b211c6f3616921f081ee54721ee3ad2ace2fac6a6337e032f7b4dcf2"
dependencies = [
"bitflags",
"widestring",
"windows-sys 0.61.2",
]
[[package]]
name = "windows-sys"
version = "0.52.0"