trying something with type
This commit is contained in:
@@ -73,6 +73,8 @@ http {
|
|||||||
listen 80 http2;
|
listen 80 http2;
|
||||||
server_name api.flowy.live;
|
server_name api.flowy.live;
|
||||||
|
|
||||||
|
default_type application/grpc;
|
||||||
|
|
||||||
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
|
||||||
@@ -84,6 +86,8 @@ http {
|
|||||||
listen 443 ssl http2;
|
listen 443 ssl http2;
|
||||||
server_name api.flowy.live;
|
server_name api.flowy.live;
|
||||||
|
|
||||||
|
default_type application/grpc;
|
||||||
|
|
||||||
# RSA certificate
|
# RSA certificate
|
||||||
ssl_certificate /etc/letsencrypt/live/flowy.live/fullchain.pem; # managed by Certbot
|
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
|
ssl_certificate_key /etc/letsencrypt/live/flowy.live/privkey.pem; # managed by Certbot
|
||||||
|
|||||||
Reference in New Issue
Block a user