Would it be possible to get glob style includes in place, i.e. include_file "/some/path/*.cfg".
Reviewing the source, it looks likeĀ sr_push_yy_state inĀ src/core/cfg.lex needs an update.
Daniel - can you confirm if this is the correct place to modify such behavior and if there are any gotchas in implementation of this?
It would be nice if it had full support for glob inclusion / imports, similar to nginx
i.e.
include_file "/home/*/foo/bar/*.cfg"
would include files in /home/brandon/foo/bar/*.cfg and /home/dev/foo/bar/*.cfg although I realize this adds a bit more complexity, any reason you can see why not to add support for this?
Thanks!