1、安装
pip3 install nginxfmt
2、操作命令
nginxfmt nginx.conf
3、其他:
- github 地址:https://github.com/slomkowski/nginx-config-formatter
- 参考资料:nginx格式化工具_sms technonogy的博客-CSDN博客_nginx.conf 格式化
1、安装
pip3 install nginxfmt
2、操作命令
nginxfmt nginx.conf
3、其他: