Advanced Options
Load Balancing Directive
This option instructs HAProxy how to handle load balancing. HAProxy will maintain session persistence with a Cookie named_LBID
so any option is valid. For a REST API or other apps that don't make use of WebSession
, the "HandleURL only app" switch will disable the cookie behavior.
HAProxy documentation for load balancing directive
HandleURL Only App
Enabling this setting will disable using a cookie to directs subsequent requests from a visitor to the same instance. This allows HAProxy to evenly distribute requests among available instances. However, it will break applications that use a Session
or WebPage
.
HAProxy documentation for the cookie directive
Max Request Body Size
Sets the maximum allowed size of the client request body. If the size in a request exceeds the configured value, the 413 (Request Entity Too Large)
error is returned to the client. Please be aware that browsers cannot correctly display this error.
Sizes can be specified in bytes, kilobytes (suffix K), or megabytes (suffix M). For example, 1024
, 8K
, 1M
. Setting size to 0
disables checking the client request body size.
The default value (used if this field is left blank) is 1M
. Increase this value if the Web App needs to accept file uploads.
Manage --UploadPath
In theory the Xojo Web Framework should handle creating and managing a unique temporary directory. In practice, this hasn't worked reliably. This feature will pass a custom --UploadPath
parameter to the web app and manage the creation of this temporary folder as a pre-launch command.