NginxConfTree - Combiner for nginx configuration¶
- class insights.combiners.nginx_conf.NginxConfTree(confs)¶
This module models nginx configuration as a tree. It correctly handles include directives by splicing individual document trees into their parents until one document tree is left.
A DSL is provided to query the tree through a select function or brackets . The brackets allow a more conventional lookup feel but aren’t quite as powerful as using select directly.
insights.core.ConfigComponentclass for example usage.