We are getting ready to start using the self hosted Node export module. After reviewing the documentation, I didn’t see anything about hosting the application in a subdirectory type url.
e.g. https:///apps/gantt-exporter
We normally reverse proxy using nginx, however, I didn’t find anything for the export application.
Is this possible or do we have need to open the default port?
Hello Clifford,
The export module uses specific ports and URLs. By default, it is http://localhost:3200/gantt for Gantt. You can change the port by using the PUBLIC_PORT environment variable. For example:
PUBLIC_PORT=8192 npm start
Then, the export module will listen to the following URL for Gantt:
http://localhost:8192/gantt
With nginx you usually map the incoming requests for the node.js application or a Docker image. By using the alias you should be able to change the request from https:///apps/gantt-exporter to http://localhost:YOUR_PORT/gantt
You can also check the README.MD file for more environment variables you can use.
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan