The sync-routes command was failing to generate routes for most vhosts due to: - Subshell bug: pipe in while loop caused variable changes to be lost - Only supported old-style backends (inline .server field) - Did not support new-style backends with separate =server sections Changes: - Rewrite sync-routes to avoid subshell by using temp file - Add support for both backend styles (inline and separate server sections) - Use original_backend field when vhosts are in inspection mode - Skip luci/fallback/mitmproxy_inspector backends in route generation Now properly generates 13+ routes for HAProxy backend inspection. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| files | ||
| root/srv/mitmproxy/addons | ||
| Makefile | ||