Moved http config to better place