Configuration Parameters for HEAVY.AI Web Server
Following are the parameters for runtime settings on HeavyAI Web Server. The parameter syntax provides both the implied value and the default value as appropriate. Optional arguments are in square brackets, while implied and default values are in parentheses.
Flag | Description | Default |
| Denote additional file extensions for uploads. Has no effect if | |
| Allows for a CORS exception to the same-origin policy. Required to be true if Immerse is hosted on a different domain or subdomain hosting heavy_web_server and heavydb. Allowing any origin is a less secure mode than what heavy_web_server requires by default. |
|
| URL to http-port on heavydb. Change to avoid collisions with other services. |
|
| URL to http-binary-port on heavydb. |
|
| Certificate file for HTTPS. Change for testing and debugging. |
|
| Path to HeavyDB configuration file. Change for testing and debugging. | |
| Path to HeavyDB data directory. Change for testing and debugging. |
|
| Path to data catalog directory. | n/a |
| Path to documentation directory. Change if you move your documentation files to another directory. |
|
| Use the binary thrift protocol. | TRUE[1] |
| Enable access to current log files via web browser. Only super users (while logged in) can access log files. Log files are available at http[s]://host:port/logs/log_name. The web server log files: ACCESS - http[s]://host:port/logs/access ALL - http[s]://host:port/logs/all HeavyDB log files: INFO - http[s]://host:port/logs/info WARNING - http[s]://host:port/logs/warning ERROR - http[s]://host:port/logs/ | FALSE[0] |
| TLS certificate verification is a security measure that can be disabled for the cases of TLS certificates not issued by a trusted certificate authority. If using a locally or unofficially generated TLS certificate to secure the connection between heavydb and heavy_web_server, this parameter must be set to false. heavy_web_server expects a trusted certificate authority by default. |
|
| Enable frontend cross-domain authentication. Cross-domain session cookies require the | FALSE[0] |
| ||
| Enable HTTPS support. Change to enable secure HTTP. | |
| Enable PKI authentication. | |
| Enable a new port that heavy_web_server listens on for incoming HTTP requests. When received, it returns a redirect response to the HTTPS port and protocol, so that browsers are immediately and transparently redirected. Use to provide an HEAVY.AI front end that can run on both the HTTP protocol (http://my-heavyai-frontend.com) on default HTTP port 80, and on the primary HTTPS protocol (https://my-heavyai-frontend.com) on default https port 443, and have requests to the HTTP protocol automatically redirected to HTTPS. Without this, requests to HTTP fail. Assuming heavy_web_server can attach to ports below 1024, the configuration would be: enable-https-redirect = TRUE http-to-https-redirect-port = 80 | FALSE[0] |
| Enable non-kernel-time query interrupt. | TRUE[1] |
| Enbale runtime query interrupt. | TRUE[1] |
| Disables restrictive file extension upload check. | |
| Path to the file containing the credential payload cipher key. Key must be 256 bits in length. | |
| Path to frontend directory. Change if you move the location of your frontend UI files. |
|
| Configures the http (incoming) port used by enable-https-redirect. The port option specifies the redirect port number. Use to provide an HEAVY.AI front end that can run on both the HTTP protocol (http://my-heavyai-frontend.com) on default HTTP port 80, and on the primary HTTPS protocol (https://my-heavyai-frontend.com) on default https port 443, and have requests to the HTTP protocol automatically redirected to HTTPS. Without this, requests to HTTP fail. Assuming heavy_web_server can attach to ports below 1024, the configuration would be: enable-https-redirect = TRUE http-to-https-redirect-port = 80 | 6280 |
| Idle session default, in minutes. | 60 |
| Jupyter Hub base_url for Jupyter integration. | /jupyter |
| URL for Jupyter integration. | |
-j | | Path to a key file for client session encryption. The file is expected to be a PEM-formatted ( .pem ) certificate file containing the unencrypted private key in PKCS #1, PCKS #8, or ASN.1 DER form. Example PEM file creation using OpenSSL. Required only if using a high-availability server configuration or another server configuration that requires an instance of Immerse to talk to multiple heavy_web_server instances. Each heavy_web_server instance needs to use the same encryption key to encrypt and decrypt client session information which is used for session persistence ("sessionization") in Immerse. | |
| Key file for HTTPS. Change for testing and debugging. |
|
| Refers to the version of TLS encryption used to secure web protocol connections. Specifies a maximum TLS version. | |
| Refers to the version of TLS encryption used to secure web protocol connections. Specifies a minimum TLS version. |
|
| Peer CA certificate PKI authentication. |
|
| Frontend server port. Change to avoid collisions with other services. | 6273 |
| Enable read-only mode. Prevent changes to the data. | |
| If set, ensures that all | |
| Path to servers.json. Change for testing and debugging. | |
| Session ID header. |
|
| SSL validated public certificate. |
|
| SSL private key file. |
|
| List of custom X http request headers to be removed from incoming requests. Use |
|
| Maximum request duration in |
|
| Refers to the combination of algorithms used in TLS encryption to secure web protocol connections. All available TLS cipher suites compatible with HTTP/2:
| The following cipher suites are accepted by default:
|
| Refers to the types of Elliptic Curve Cryptography (ECC) used in TLS encryption to secure web protocol connections. All available TLS elliptic Curve IDs:
| The following TLS curves are accepted by default:
|
| Path for temporary file storage. Used as a staging location for file uploads. Consider locating this directory on the same file system as the HEAVY.AI data directory. If not specified on the command line, |
|
| Enables secure mode that sets | |
| Enable verbose logging. Adds log messages for debugging purposes. | |
| Return version. |
Last updated