/nginx-conf-parser

Nginx conf parser (DEPRECATED, use nginx -T)

Primary LanguagePHP

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