http.server

Description

Contains the configuration for the HTTP server.

All the configuration for the HTTP server is contained within an http.server composite property.

Simple configuration

Name Type Default value Description
logging.ns string http.server The logging namespace into which the server and web-apps (that do not have overriding configuration) will log to.
info.log string stream: stdout The INFO level logging configuration to apply to the logging namespace used by the HTTP server.
error.log string stream: stderr The ERROR level logging configuration to apply to the logging namespace used by the HTTP server.
server.id string The server identification string.
worker.count int 1 The number of worker threads that the HTTP server will use.
listen endpoint The endpoint to listen on.
session-cookie-name string session The name used to store session cookies on connecting clients.

Composite configuration

Name Description
mime.types The list of MIME types to use in the HTTP server.
filters The input filters to apply before HTTP web application execution.
http The HTTP web application specifications that the server will construct.
ws The WebSocket web application specifications that the server will construct.