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