To increase readability of my nginx configuration files I wrote the formatting program. DO NOT OUTPUT RESULTS TO INPUT FILES!

Usage example:

python3 ./nginx_format.py blindage.org > blindage.org.out

Download

git clone https://git.blindage.org/nginx-formatter.git

Example

Before use:

nginx formatter before

After use:

nginx formatter after