support nginx-style config file