(This is an English translation of a previous post)
We use HAProxy for all our incoming HTTP and other TCP connections.
Its configuration is the most complex we have. That’s why we do not write it by hand, but rather generate it from metadata and includes. Such a generator makes the configuration easier — but it also makes it harder to see what the actual changes will be in the end.
For situations like that, we like tooling that will show us a diff of the generated configuration. Because the HAProxy configuration is a single text file, we could use the diff program to compare two versions.
The downside of a textual diff is that it shows meaningless differences, for example if only order or comments change.
„Structural diff for HAProxy configuration“ weiterlesen