Advanced Options

Load Balancing Directive

This option instructs nginx how to handle load balancing. For Session based Web Apps, this option must be set to ip_hash. The other available options are only usable with apps acting as a REST API and do not allow a Session based Web App to function.

nginx documentation for load balancing 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.