Skip to content

Fortified IDDocs

Configuration

Configure module deployment and the listener, context, session, and security settings shared by HTTP modules.

Use this reference to configure module deployment and the settings shared by modules that expose HTTP endpoints. Module-specific settings remain in each module's own reference.

These configuration properties are common to all modules:

NameDescriptionDefaultMandatory
nameCanonical module name or alias.""
enabledControls whether the module is deployed.true
instancesNumber of instances to deploy with the same configuration.1
workerDeploys the instances with worker execution when enabled.false
groupDeployment group. A configured or built-in module affiliation takes precedence over the fallback.Module affiliation or "default"
configModule-specific configuration object.{}

HTTP modules register their routes below an http_context and use either a named server-level listener or local compatibility settings. Prefer a named listener so host, port, TLS, and proxy-header handling are configured once.

Every HTTP module registers a context path through http_context. The selected listener supplies the network host, port, and TLS settings, while the module defines the routes below its context.

http://192.168.1.23:8080/path/to/api/operation
^ ^ ^ ^ ^
| | | | |
| + host | | |
+ scheme | + context |
+ port + endpoint

The following rules apply to the context property:

  1. It must start with /.
  2. It must not end with /.
  3. It can contain multiple levels separated by /.
  4. It can overlap another module's context when their registered routes do not conflict.

TLS listeners can use a keystore for their private key and certificate and a truststore for certificates they trust.

Two types of key-/truststores are supported:

  • Java KeyStore format ("JKS")
  • PKCS#12 ("PKCS12")

Key-/truststores can be configured in two ways:

  • As a keystore object (recommended)
  • Using local properties (deprecated, used only for compatibility)

The configuration can contain the object inline or reference an externalized object with an expansion expression. Externalization allows the same keystore object to be reused.

NameDescriptionDefaultMandatory
dataBase64-encoded keystore data. Required unless path is used.""
pathPath from which the keystore is loaded. Required unless data is used.""
passwordKeystore password.""
typeKeystore type."PKCS12"
NameDescriptionDefaultMandatory
http_listenerName of HTTP listener to use. If not specified, local properties will be used.""
http_hostHostname or IP address for the local compatibility listener. *"0.0.0.0"
http_portPort of HTTP listener. *8080
http_optionsAdditional Vert.x HTTP server options for the local compatibility listener.{}
http_contextModule context path. All routes registered by a module are relative to this context.Module-specific
http_allow_forward_headersReverse-proxy header policy: "NONE", "FORWARD", "X_FORWARD", or "ALL"."X_FORWARD"
http_redirect_urlOptional target for redirecting requests to the listener root.""
http_use_sslEnables TLS for the local compatibility listener. Requires a configured keystore. *false
http_use_alpnFlag to enable support for ALPN (Application Layer Protocol Negotiation), required for using HTTP/2 over SSL/TLS. *true
http_keystoreKeystore object. The compatibility alias is http_keystore_ref. *""
http_keystore_pathPath to the keystore. *""
http_keystore_passwordKeystore password. **""
http_keystore_typeKeystore type. **"PKCS12"
http_key_aliasKeystore key alias. *""
http_key_passwordPrivate-key password. *""
http_truststoreTruststore object. The compatibility alias is http_truststore_ref. *""
http_truststore_pathPath to the truststore. **""
http_truststore_passwordTruststore password. **""
http_client_authEnables TLS client-certificate authentication. *false
http_form_attr_limitCompatibility setting for the maximum size of HTTP form attributes in bytes.524288
http_request_body_limitCompatibility setting for the maximum HTTP request-body size in bytes.2097152
http_webroot_dirCompatibility setting for the directory from which static files are served.""
http_overlay_dirCompatibility setting for a static web-root overlay directory.""
http_indexCompatibility setting for the index page served when a URL does not name a file."index.html"
http_session_cookie_pathCookie path. When omitted, the module context path is used.Module context path
http_session_cookie_nameSession cookie name."__session"
http_session_timeout_msSession timeout in milliseconds.1800000
http_session_enabledEnables the HTTP session handler for the context. The compatibility name is use_session.true
http_session_cookie_http_onlyPrevents browser scripts from reading the session cookie. The legacy compatibility name is http_session_cookie_httponly.true
http_session_cookie_secureSession cookie secure flag. Secure cookies are only sent over secure (HTTPS) connections.true
http_session_cookie_same_siteSession cookie SameSite policy: "STRICT", "LAX", or "NONE"."NONE"
http_headersResponse headers added to routes in the HTTP context.{}
publicAllows requests without an authenticated session.true
http_auth_redirect_urlRedirect location used when authentication is required.""
use_body_handlerEnables request-body handling for the context.true
http_enable_file_uploadCompatibility setting that enables file uploads.false
http_file_upload_dirCompatibility setting for the upload directory."uploads"
http_file_upload_delete_files_on_endDeletes uploaded temporary files when the request ends.true
http_corsCORS configuration object.{"enabled": true}
http_cors.enabledEnables CORS handling.true
http_cors.originsArray of allowed origins in the form <scheme>://<host>[:<port>].[]
http_cors.allowed_methodsArray of allowed HTTP methods.[]
http_cors.allowed_headersArray of allowed request headers.[]
http_cors.exposed_headersArray of response headers exposed to browsers.[]
http_cors.allow_credentialsAllows credentials in cross-origin requests. Explicit origins are required when this is enabled.false
http_cors.allow_private_networkAllows cross-origin access from public networks to private networks.false
http_cors.max_age_secsBrowser cache lifetime for CORS preflight responses.Handler default
http_csrfCSRF handler configuration.{"enabled": true}
http_cspContent Security Policy configuration.{"enabled": false}
http_fingerprintSession fingerprint configuration object.{"enabled": false}
http_fingerprint.enabledEnables session fingerprint validation.false
http_fingerprint.allow_clientAllows a client-supplied fingerprint.false
http_fingerprint.patternRegular expression that validates the fingerprint value.".{16,}"
http_fingerprint.failure_locationRedirect location used when fingerprint validation fails.""

*) Use a server-level HTTP listener instead of local transport properties when possible.

**) Used only with key- or truststore path configuration in compatibility modules.