oddlama / nix-topology

🍁 Generate infrastructure and network diagrams directly from your NixOS configurations
https://oddlama.github.io/nix-topology
MIT License
556 stars 24 forks source link

fix: strip block suffixes in Caddy extractor #42

Closed msfjarvis closed 2 weeks ago

msfjarvis commented 2 weeks ago

Caddy reverse_proxy blocks have configuration options which can result in the syntax looking like this that causes the extractor to pick up addresses as 127.0.0.1:1234 { rather than the expected 127.0.0.1:1234.

oddlama commented 2 weeks ago

Looks good to me, thank you