adding in endpoint for api
This commit is contained in:
+12
-11
@@ -68,17 +68,18 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# k8s api: passthrough grpc/tcp
|
#k8s api: passthrough grpc/tcp
|
||||||
# server {
|
server {
|
||||||
# listen 80 http2;
|
listen 80 http2;
|
||||||
# server_name api.flowy.live;
|
server_name api.flowy.live;
|
||||||
#
|
|
||||||
# location / {
|
location / {
|
||||||
# # Replace localhost:50051 with the address and port of your gRPC server
|
# Replace localhost:50051 with the address and port of your gRPC server
|
||||||
# # The 'grpc://' prefix is optional; unencrypted gRPC is the default
|
# The 'grpc://' prefix is optional; unencrypted gRPC is the default
|
||||||
# grpc_pass grpc://localhost:50051;
|
grpc_pass grpc://localhost:30485;
|
||||||
# }
|
}
|
||||||
# }
|
}
|
||||||
|
|
||||||
# server {
|
# server {
|
||||||
# listen 443 ssl http2;
|
# listen 443 ssl http2;
|
||||||
# server_name api.flowy.live;
|
# server_name api.flowy.live;
|
||||||
|
|||||||
Reference in New Issue
Block a user