max-voloshin / nginx-conf-parser
Nginx conf parser
dev-master
2014-04-13 16:09 UTC
Requires
- php: >=5.3
This package is not auto-updated.
Last update: 2024-04-09 04:01:04 UTC
README
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