Edit Page

config/http.js

This file is for configuring the underlying HTTP server in Sails, as well as any HTTP middleware your app may need.

Usage

#

See sails.config.http for all available options.

Want to see for yourself?

An example of this file can be found in our sample app repo, here.

Anatomy of a Sails App