Install python3. This is for CentOS yum install python34 Download and install nginxfmt.py. The download and the instructions are at https://github.com/1connect/nginx-config-formatter Once installed usage is as follows. # do a backup tar -czvf nginx-conf-backup.tar.gz...

read more...