adding in tls for grpc without serverside encryption, just LB level
This commit is contained in:
+12
-11
@@ -80,17 +80,18 @@ http {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
# server {
|
server {
|
||||||
# listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
# server_name api.flowy.live;
|
server_name api.flowy.live;
|
||||||
#
|
|
||||||
# ssl_certificate ssl/cert.pem;
|
# RSA certificate
|
||||||
# ssl_certificate_key ssl/key.pem;
|
ssl_certificate /etc/letsencrypt/live/flowy.live/fullchain.pem; # managed by Certbot
|
||||||
#
|
ssl_certificate_key /etc/letsencrypt/live/flowy.live/privkey.pem; # managed by Certbot
|
||||||
# location / {
|
|
||||||
# grpc_pass grpcs://localhost:50051;
|
location / {
|
||||||
# }
|
grpc_pass grpc://localhost:50051;
|
||||||
# }
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
stream {
|
stream {
|
||||||
|
|||||||
Reference in New Issue
Block a user