Skip to content

max-voloshin/nginx-conf-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Goal

Show full (parsed) nginx config for further analysis

Usage

Show config:

./nginx-conf-parser /etc/nginx/nginx.conf

Find all server names:

./nginx-conf-parser /etc/nginx/nginx.conf | grep -E "\sserver_name\s"

Installation

Via Composer:

composer create-project max-voloshin/nginx-conf-parser /path/to/ dev-master

Run tests

phpunit

License

MIT

About

Nginx conf parser (DEPRECATED, use nginx -T)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages