Skip to content

SongJXin/nginx-config-parse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

功能

解析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其他文件,会自动递归分析

About

No description, website, or topics provided.

Resources

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages