Web Server

Web Server settings

Base URL

Base URL is the URL Aidbox is available at. It consists of scheme (HTTP, HTTPS), domain, port (optional) and URL path (optional). Trailing slash is not allowed.

IDweb.base-url
TypeString
Default value(no default)
Environment variablesBOX_WEB_BASE_URL ,
AIDBOX_BASE_URL
Sensitivefalse — can be set via Ul and environment variable
Hot reloadfalse — requires Aidbox restart

Web server port

Web server port that Aidbox listens on.

IDweb.port
TypeInt
Default value8080
Environment variablesBOX_WEB_PORT ,
AIDBOX_PORT
Sensitivefalse — can be set via Ul and environment variable
Hot reloadfalse — requires Aidbox restart

Web thread count

The number of web server workers in Aidbox. The number of workers determines how many concurrent web requests Aidbox can handle.

IDweb.thread
TypeInt
Default value8
Environment variablesBOX_WEB_THREAD
Sensitivefalse — can be set via Ul and environment variable
Hot reloadfalse — requires Aidbox restart

HTTP initial line max length

Length limit for HTTP initial line and per header length, 414 (Request-URI Too Long) will be returned if exceeding this limit.

IDweb.max-line
TypeInt
Default value8192
Environment variablesBOX_WEB_MAX_LINE ,
BOX_WEB_MAX__LINE
Sensitivefalse — can be set via Ul and environment variable
Hot reloadfalse — requires Aidbox restart

Request max body size

Maximum size of the request body in bytes.

IDweb.max-body
TypeInt
Default value20971520
Environment variablesBOX_WEB_MAX_BODY ,
BOX_WEB_MAX__BODY
Sensitivefalse — can be set via Ul and environment variable
Hot reloadfalse — requires Aidbox restart