[repo] NixOS and docs: ianitor-caddy-guard with caddy-fallback, caddy-revert after every control stop, admin socket only for control, Caddy trial deadline in the engine-switch VM test, trusted proxies stay off beside Caddy

This commit is contained in:
2026-11-08 12:04:14 +01:00
parent 23a283ece9
commit 457aea86ca
6 changed files with 80 additions and 13 deletions
+1 -3
View File
@@ -67,7 +67,7 @@ new file mode 100644
index 0000000..cd23016
--- /dev/null
+++ b/hyperv-infra/modules/ianitor.nix
@@ -0,0 +1,51 @@
@@ -0,0 +1,49 @@
+{ config, lib, inputs, ... }:
+
+# Ianitor beside Caddy (Ianitor ROADMAP §1.12, Phase 3): two low-risk hosts, flowers and esp32,
@@ -100,8 +100,6 @@ index 0000000..cd23016
+ httpListen = "127.0.0.1:18080";
+ httpsListen = "127.0.0.1:18443";
+ openFirewall = false;
+ # Caddy in front, on loopback: its X-Forwarded-For names the visitor (throttle, logs).
+ trustedProxies = [ "127.0.0.1" ];
+ };
+ control.listen = "127.0.0.1:7878";
+ shareLinkKeyFile = config.sops.secrets."ianitor/share-link-key".path;