Function nginx_config::parse_main [] [src]

pub fn parse_main(s: &str) -> Result<Main, ParseError>

Parses a piece of config in "main" context (i.e. top-level)