简体   繁体   English

使用node.js中的正向代理从客户端到服务器的GRPC

[英]GRPC from client to server with forward proxy in node.js

I' trying to make a gRPC connection behind a proxy on the internet from a node.js app. 我正在尝试从node.js应用程序在Internet上的代理后面建立gRPC连接。 I can't find documentation that describes how to configure the gRPC module to use a forward proxy. 我找不到描述如何配置gRPC模块以使用正向代理的文档。

When running gRPC, you can specify an http_proxy environment variable. 运行gRPC时,您可以指定http_proxy环境变量。

See https://github.com/grpc/grpc/blob/master/doc/environment_variables.md 参见https://github.com/grpc/grpc/blob/master/doc/environment_variables.md

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM