Skip to main content

Deploying ToolJet on a subpath

ToolJet can now be deployed at a subpath rather than the root (/) of a public domain. Example subpath installation URL:

You'll need to setup the following environment variables if ToolJet installation is on a domain subpath:

TOOLJET_HOSTthe public URL ( eg: )
SERVE_CLIENTBy default, this variable will be unset and the server will serve the client at its / end-point. You can set SERVE_CLIENT to false to disable this behaviour.
SUB_PATHSet a subpath to this variable. The subpath is to be set with trailing / and is applicable only when the server is serving the frontend client. ( eg: /apps/tooljet/ )

See all Environment Variables here.