9/23/2019 9:44 PM | |
Posts: 6 Rating: (0) |
Hello, In fact, configuring a reverse proxy via Nginx/Apache to route the calls to the PLC is (to me) the best solution to this problem. CORS comes only because a request goes from one domain (usually a website) to another domain (the PLC IP address) and is coming from the Browser itself.If you configure a reverse proxy by using your.domain.com, all the requests coming from you browser will then go to Nginx/Apache and will then be routed to the PLC(s). I would even advise to secure the connection by using HTTPS via this web server. This way you get the following flow : request ---HTTPS---> Nginx/Apache ---HTTP---> PLC I don't know if I'm providing all the details you where expecting... Regards, L. |
This contribution was helpful to1 thankful Users |
Follow us on