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

CORS support in Flow's NGINX - How

anickolsky
12-Amethyst

CORS support in Flow's NGINX - How

Hi all,

Trying to configure new Windchill 11.2.1 Trace Management with remote Flow installation gives me error:

Access to XMLHttpRequest at 'https://flow.**/Thingworx/Things/OslcDataServicesThing/services/GetServerResourceDetails' from origin 'https://my.windchill.serv' has been blocked by CORS policy: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How to configure it in NGNIX?

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Take a look at this article https://www.ptc.com/en/support/article?n=CS248759

specifically how to configure Nginx directive to add header:

add_header Access-Control-Allow-Origin *;

You can also look here https://enable-cors.org/server_nginx.html for more info.

View solution in original post

2 REPLIES 2

Take a look at this article https://www.ptc.com/en/support/article?n=CS248759

specifically how to configure Nginx directive to add header:

add_header Access-Control-Allow-Origin *;

You can also look here https://enable-cors.org/server_nginx.html for more info.

Hi Marek,

Thanks a lot for help!

Found answer in a Flow documentation also.

Unfortunately it turned out integration is not ready till ILM 12.3

Kind regards,

Andrey

 

Top Tags