Skip to content

Instantly share code, notes, and snippets.

@avlazarov
Last active August 23, 2019 14:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avlazarov/9503c23d81c75f760e14b30e38847356 to your computer and use it in GitHub Desktop.
Save avlazarov/9503c23d81c75f760e14b30e38847356 to your computer and use it in GitHub Desktop.
AnyCable gRPC connection issue
upstream grpcservers {
server 0.0.0.0:50051;
server 0.0.0.0:50052;
}
server {
listen 50050 http2;
server_name localhost;
access_log /var/log/nginx/grpc_log.json;
error_log /var/log/nginx/grpc_error_log.json debug;
location / {
grpc_pass grpc://grpcservers;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment