diff --git a/nginx.conf b/nginx.conf index 1f8bd1d..45ad2e7 100644 --- a/nginx.conf +++ b/nginx.conf @@ -68,17 +68,18 @@ http { } } - # k8s api: passthrough grpc/tcp - # server { - # listen 80 http2; - # server_name api.flowy.live; - # - # location / { - # # Replace localhost:50051 with the address and port of your gRPC server - # # The 'grpc://' prefix is optional; unencrypted gRPC is the default - # grpc_pass grpc://localhost:50051; - # } - # } + #k8s api: passthrough grpc/tcp + server { + listen 80 http2; + server_name api.flowy.live; + + location / { + # Replace localhost:50051 with the address and port of your gRPC server + # The 'grpc://' prefix is optional; unencrypted gRPC is the default + grpc_pass grpc://localhost:30485; + } + } + # server { # listen 443 ssl http2; # server_name api.flowy.live;