diff --git a/docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md b/docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md index a880cad1..4c6f720c 100644 --- a/docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md +++ b/docs/faq/how-can-i-deploy-my-hexabot-using-nginx.md @@ -64,7 +64,7 @@ This command will copy the `.env.example` file to `.env` in the `./docker` direc 4. Update your `.env` file for production, especially the following ones: -
Variable Name | Example Value | Env variable description | |
---|---|---|---|
NODE_ENV | prod | Environment Mode | |
APP_DOMAIN | mychatbot.ai | Application Domain Name | |
API_ORIGIN | https://mychatbot.ai/api | The API endpoint will be used to communicate with the backend | |
FRONTEND_BASE_URL | https://mychatbot.ai:8080 | The API endpoint will be used to communicate with the frontend | |
FRONTEND_ORIGIN | http://mychatbot.ai, https://mychatbot.ai | The origins that will be accepted by the API. A list of permitted origins for cross-origin requests | |
JWT_SECRET | 346998ba1f171f107433 | Secret to encrypt JWT token | |
SESSION_SECRET | 27feaf70d2c78892bf49 | Secret to encrypt session token | |
HTTPS_ENABLED | true | Https setting | |
INVITATION_JWT_SECRET | 51c8ea00d82eb10ee226 | Secret to encrypt invitation token | |
PASSWORD_RESET_JWT_SECRET | 5ee97916017176d1ca6c | Secret to encrypt reset password token | |
CONFIRM_ACCOUNT_SECRET | 80f74dce70e5385bf80b | Secret to encrypt confirm account token | |
MONGO_USER | my_mongo_username | Mongodb username | |
MONGO_PASSWORD | my_mongo_password | Mongodb password | |
AUTH_TOKEN | c97643c1c1e5e9dc5745 | Secret to encrypt NLU token | |
NEXT_PUBLIC_API_ORIGIN | https://mychatbot.ai/api | Next.js API endpoint |
Variable Name | Example Value | Env variable description | |
---|---|---|---|
NODE_ENV | prod | Environment Mode | |
APP_DOMAIN | mychatbot.ai | Application Domain Name | |
API_ORIGIN | https://mychatbot.ai/api | The API endpoint will be used to communicate with the backend | |
FRONTEND_BASE_URL | https://mychatbot.ai | The API endpoint will be used to communicate with the frontend | |
FRONTEND_ORIGIN | http://mychatbot.ai, https://mychatbot.ai | The origins that will be accepted by the API. A list of permitted origins for cross-origin requests | |
NEXT_PUBLIC_API_ORIGIN | https://mychatbot.ai/api | Next.js API endpoint | |
JWT_SECRET | 346998ba1f171f107433 | Secret to encrypt JWT token | |
SESSION_SECRET | 27feaf70d2c78892bf49 | Secret to encrypt session token | |
HTTPS_ENABLED | true | Https setting | |
INVITATION_JWT_SECRET | 51c8ea00d82eb10ee226 | Secret to encrypt invitation token | |
PASSWORD_RESET_JWT_SECRET | 5ee97916017176d1ca6c | Secret to encrypt reset password token | |
CONFIRM_ACCOUNT_SECRET | 80f74dce70e5385bf80b | Secret to encrypt confirm account token | |
MONGO_USER | my_mongo_username | Mongodb username | |
MONGO_PASSWORD | my_mongo_password | Mongodb password | |
AUTH_TOKEN | c97643c1c1e5e9dc5745 | Secret to encrypt NLU token |