ToolJet/docs/versioned_docs/version-2.8.0/setup/tooljet-subpath.md
Karan Rathod 82b14338eb
[docs]:add contact us info for all setup pages (#7195)
* add contact us info for all setup pages

* fix text alignment issue on tooljet-subpath setup pages

* remove contact us text from the readme file
2023-08-03 13:09:07 +05:30

23 lines
1 KiB
Markdown

---
id: tooljet-subpath
title: 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: **`http://www.yourcompany.com/apps/tooljet`**
*If you have any questions feel free to join our [Slack Community](https://tooljet.com/slack) or send us an email at hello@tooljet.com.*
You'll need to setup the following environment variables if ToolJet installation is on a domain subpath:
| variable | value |
| -------- | ---------------------- |
| TOOLJET_HOST | the public URL ( eg: https://www.yourcompany.com ) |
| SERVE_CLIENT | By 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_PATH | Set 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/` ) |
:::info
See all **[Environment Variables](/docs/setup/env-vars)** here.
:::