Personal summary of HTTP changed to HTTPS-for later use

Source: Internet
Author: User

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.



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.