开发者

Proxy in node.js Modules

开发者 https://www.devze.com 2023-04-05 06:35 出处:网络
I would like to set up 2 node.js scripts that act as a开发者_运维技巧 proxy together 1st script allows you to request pages

I would like to set up 2 node.js scripts that act as a开发者_运维技巧 proxy together

1st script allows you to request pages

2nd script receives requests, querying content on a connection

If there is project providing the same fictionality could you post the link.

If not modules which modules would be helpful in accomplishing the task?


Your question is a very vague as it does not appear you require a proxy at all. If you wish to monitor your application, the one serving up your pages, you could give hummingbird a try. If you do actually require a proxy server then I would recommend http-proxy from the nodejitsu guys.

Alternatively you can set up a single server which routes your view files and "queries content". If you add a more detailed description of your requirements you may get a more helpful answer.

0

精彩评论

暂无评论...
验证码 换一张
取 消