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 variableBOX_WEB_BASE_URL
Deprecated environment variablesAIDBOX_BASE_URL
Sensitivefalse — value will be visible in plaintext in Admin UI
Set viaAdmin UI → Settings
Environment variables
Hot reloadfalse — setting requires system restart

Web server port

Web server port that Aidbox listens on.

IDweb.port
TypeInt
Default value8080
Environment variableBOX_WEB_PORT
Deprecated environment variablesAIDBOX_PORT
Sensitivefalse — value will be visible in plaintext in Admin UI
Set viaAdmin UI → Settings
Environment variables
Hot reloadfalse — setting requires system 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 variableBOX_WEB_THREAD
Sensitivefalse — value will be visible in plaintext in Admin UI
Set viaAdmin UI → Settings
Environment variables
Hot reloadfalse — setting requires system 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 variableBOX_WEB_MAX_LINE
Deprecated environment variablesBOX_WEB_MAX__LINE
Sensitivefalse — value will be visible in plaintext in Admin UI
Set viaAdmin UI → Settings
Environment variables
Hot reloadfalse — setting requires system restart

Request max body size

Maximum size of the request body in bytes.

IDweb.max-body
TypeInt
Default value20971520
Environment variableBOX_WEB_MAX_BODY
Deprecated environment variablesBOX_WEB_MAX__BODY
Sensitivefalse — value will be visible in plaintext in Admin UI
Set viaAdmin UI → Settings
Environment variables
Hot reloadfalse — setting requires system restart

Last updated 2025-07-15T00:23:16Z