Look at sails.hooks.http, not sails.config.hooks.http.