Currently, i try to use grunt-connect-proxy for some third party services, but still have a problem. As you know, facebook is blocked in china, so when i try to use this plugin, i need to do two layer proxies. For example, there is a search service in facebook called fb.com/search?XXX , i want to proxy localhost/fb/search?XX to this service, and i also setted a system VPN so that i can access facebook.
And i expect the proxy is like: localhost/fb/search?XX -> fb.com/search?XXX -> VPN to get the result. But actually the connect-proxy always access the network directly without go with the VPN. So my question is there a way i can do with this case? Thanks.
Currently, i try to use grunt-connect-proxy for some third party services, but still have a problem. As you know, facebook is blocked in china, so when i try to use this plugin, i need to do two layer proxies. For example, there is a search service in facebook called
fb.com/search?XXX
, i want to proxylocalhost/fb/search?XX
to this service, and i also setted a system VPN so that i can access facebook. And i expect the proxy is like:localhost/fb/search?XX -> fb.com/search?XXX -> VPN
to get the result. But actually the connect-proxy always access the network directly without go with the VPN. So my question is there a way i can do with this case? Thanks.