adding in endpoint for api
This commit is contained in:
+12
-11
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user