How to revese proxy Thingworx flow to internet using nginx?
I am try to reverse proxy Thingworx flow to internet using the existing nginx(not the nginx with flow), but failed. Do thingworx flow this?
My nginx config is as below. Thanks for help.
server {
listen 9394;
server_name abc.mydonmain.com;
location /{
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass https://10.56.4.159;
#proxy_redirect https://10.56.4.159/ /;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "upgrade";
#include /etc/nginx/conf.d/acl.default;
#allow a specific ip;
#allow 127.0.0.1;
#deny all;
}
}
