yes, i using the nginx as a proxy…
now i change the nginx to
server {
server_name dev.com www.dev.com;
listen 80;
rewrite ^(.*) https://dev.com$1 permanent;
}
server {
listen 443 ssl http2;
server_name dev.com www.dev.com;
ssl on;
include /etc/nginx/ssl_params;
ssl_certificate /root/certs/*.dev.com/fullchain.cer;
ssl_certificate_key /root/certs/*.dev.com/*.dev.com.key;
include /etc/nginx/hsts_headers;
index index.html index.htm index.nginx-debian.html;
location ~ ^/api.* {
grpc_pass grpc://127.0.0.1:8080;
}
location / {
proxy_pass http://127.0.0.1:8080;
}
}
it seems work.
thanks your reply!