Welcome! Log In Create A New Profile

Advanced

Diff config files

Posted by jstefankowski 
Diff config files
April 14, 2023 01:30PM
Hi,
is there a good way to identify what's different between 2 nginx configuration files. I have a 5000 + line config file generated by 2 different automation methods. Unfortunately the new automation generates config file with different sequence in location, map, upstream blocks plus additional blank or missing lines, different indentation, trailing spaces, etc all over the place.

Tried using tools such as linux diff, sdiff, winmerge, pycharm, notepad++ built-in diff options but it's cumbersome to identify what's different.

The goal here is to confirm the resulting configuration is the same.

Thank you.
Jay
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 308
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready