cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Help us improve the PTC Community by taking this short Community Survey! X

Adding an Easier to Remember URL for Flow

No ratings

Having trouble remembering how to get into Flow? How about make /Flow the URL?

 

Since the Flow environment uses NGINX to front-end the various components that make up Flow, there is a very sophisticated set of rewrites and proxy_pass directives in the NGINX configuration. All you have to do is add another 'location' fragment to the vhost-flow.conf file that will push /Flow over to /Thingworx/Composer/apps/flow:

 

    location /Flow {

      rewrite ^/Flow$ $proxy_scheme://$server_host/Thingworx/Composer/apps/flow permanent;

    }

 

On Linux, the file should be at

/etc/nginx/conf.d/vhost-flow.conf

 

On Windows, the file should be at

c:\Program Files\nginx-[version]\conf\conf.d\vhost-flow.conf

 

Test the updated config file with (nginx may not exist in your normal path):

nginx -t

 

Restart the NGINX service:

Linux (one of these will work depending upon your Linux version):

systemctl restart nginx

service nginx restart

Windows:

Net stop ThingWorxOrchestrationNginx

Net start ThingWorxOrchestrationNginx

-or- use the Services app to restart the service

 

From this point forward https://yourserver/Flow will take you to ThingWorx Flow's home page.

Version history
Last update:
‎Oct 10, 2019 12:47 PM
Updated by:
Labels (2)