Форматирование конфигов nginx \ Nginx config format http://nginxformatter.blindage.org/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Vladimir Smagin 29927f42a6 Загрузить файлы 'img' 6 months ago
img Загрузить файлы 'img' 6 months ago
README.md Добавить 'README.md' 6 months ago
nginx_format.py fix 4 years ago

README.md

NGINX config formatter

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/21h/nginx-formatter.git

Example

Before use:

nginx formatter before

After use:

nginx formatter after