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.
ID | web.base-url |
Type | String |
Default value | (no default) |
Environment variables | BOX_WEB_BASE_URL , AIDBOX_BASE_URL |
Sensitive | false — can be set via Ul and environment variable |
Hot reload | false — requires Aidbox restart |
Web server port
Web server port that Aidbox listens on.
ID | web.port |
Type | Int |
Default value | 8080 |
Environment variables | BOX_WEB_PORT , AIDBOX_PORT |
Sensitive | false — can be set via Ul and environment variable |
Hot reload | false — 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.
ID | web.thread |
Type | Int |
Default value | 8 |
Environment variables | BOX_WEB_THREAD |
Sensitive | false — can be set via Ul and environment variable |
Hot reload | false — 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.
ID | web.max-line |
Type | Int |
Default value | 8192 |
Environment variables | BOX_WEB_MAX_LINE , BOX_WEB_MAX__LINE |
Sensitive | false — can be set via Ul and environment variable |
Hot reload | false — requires Aidbox restart |
Request max body size
Maximum size of the request body in bytes.
ID | web.max-body |
Type | Int |
Default value | 20971520 |
Environment variables | BOX_WEB_MAX_BODY , BOX_WEB_MAX__BODY |
Sensitive | false — can be set via Ul and environment variable |
Hot reload | false — requires Aidbox restart |