Alibaba Cloud to apply for a free CA certificate, the application is not detailed introduction, you can look at Alibaba Cloud steps, when the application down can download the certificate, this time will be configured on the server configuration file, my server set Nginx, so on the Nginx configuration certificate, Create a new folder in the Nginx installation directory (you can configure it according to the steps on Alibaba Cloud), and upload two files from the downloaded certificate. After configuration, restart Nginx. Then we will change the relative paths of JS and CSS referenced in the project. The original is HTTP changed to HTTPS. Otherwise it will not be loaded into JS and CSS. Also configure the CDN on the Alibaba Cloud Server console to configure the HTTPS accelerated service to set the domain name. There is a certificate that there is a push, CDN is pushed to the CDN on the line, no words can not be pushed. It's said to be wrong. My domain has a CDN, so I pushed it. This is finished, wait a 10 minutes to see the original website will become the beginning of HTTPS.