解析nginx配置文件,输出监听的端口,server name,上下文,跳转的地址,以及该规则所在的文件
display nginx network topology in console or api
Usage:
ngnt [command]
Available Commands:
completion Generate the autocompletion script for the specified shell
display display nginx network topology in the console
help Help about any command
Flags:
-c, --config string nginx config path (default "/etc/nginx/nginx.conf")
-h, --help help for ngnt
Use "ngnt [command] --help" for more information about a command.
其中 /etc/nginx/nginx.conf
为nginx配置文件路径,配置文件中的include
其他文件,会自动递归分析