Last active
August 23, 2019 14:51
-
-
Save avlazarov/9503c23d81c75f760e14b30e38847356 to your computer and use it in GitHub Desktop.
AnyCable gRPC connection issue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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