Skip to content

Proxying the client <-> server GRPC connection. #2050

Closed Answered by nickgautier
nickgautier asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks to help from the Flare team we achieved this by leveraging the CommConfigurator. It can be configured by placing a comm_config.json file in the workspace. We used the following settings:

{
     "grpc": {
        "options": [
          [
            "grpc.http_proxy", "http://<proxy-host>:<proxy-port>"
          ]
        ]
      }
    }

This will make the grpc client initiate a CONNECT request to the proxy address. This allows for an L7 proxy using SSL tunneling. Here's a good explanation. This requires building nginx with a 3rd party module. Here's a reference Dockerfile that will provide a lean image. The corresponding nginx configuration will look something like:

server {
     …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by nickgautier
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant