move non http config to its own file