HTTP server options

September 15, 2018 ยท View on GitHub

HTTP is one of the available protocols.

The HTTP server has the following options:

  • hostname {string} (defaults to localhost)
  • port {integer} (defaults to 80). Can be 0 for "any available port".
protocols:
  http:
    hostname: localhost
    port: 80