Install python3. This is for CentOS 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. [code...