当前位置:网站首页>Build your own website (23)
Build your own website (23)
2022-07-03 16:50:00 【probezy】
In the last article , We downloaded the security certificate of the website from Alibaba cloud , But this certificate wants to take effect , It also needs to be configured accordingly , To configure it, you need to use VS code Yes cpolar Make necessary modifications to the configuration file of . Now? , Let's introduce , How to cpolar To configure , Make the webpage security file we downloaded take effect .
First , You need to unzip the downloaded website security file to a specific folder , Make Internet visitors visit , You can check the security certificate of our website . Generally speaking , The security certificate files of the website will be placed in “certs” In the folder , So our first step is to establish “certs” Folder . Need to pay attention to , To avoid file call errors , We'd better “certs” Folders are built on simple paths . ad locum , We will certs Put the folder in D Under the plate .
In this way , There are all relevant folders of our website , It contains the compressed files and folders of the domain name we purchased , Security certificate and key . And then we'll be at “certs” Under the folder , establish “site1” Folder , And paste two website security files into it ,

After placing the website security file , We need to remember the path of these security files , Then open the VS code, Yes cpolar To modify the configuration file of , Give Way cpolar Know the location of these two security files , So that it can be called when necessary .
ad locum , We need to find the tunnel name to configure the security file ( In this case is timelinenotes Tunnel ), And in the position indicated by the arrow , Insert the storage path and file name of the two security files .
Because our website security files are stored in D disc certs In folder site1 Under the folder , Therefore, the parameters to be entered are :
crt:D:\certs\site1\ 7744973_www.timelinenotes.xyz.pem
key:D:\certs\site1\ 7744973_www.timelinenotes.xyz.key
These two parameters are different for each user ( The difference lies in the location where the security files are stored , And the number of the safety document itself is different ), Therefore, you need to input according to the actual situation . After input , That's what it looks like :
After this step of configuration , We have to restart cpolar, You can pass https The prefix name of , Visit our website . meanwhile , Before the website domain name “” Will also light up , It marks that our website is a safe website .
thus , We go through cpolar, The work of publishing the local website to the public network is completed . Put the web page on your local computer , It can save renting network servers ( In the past, websites had to rent servers to build ) A lot of expenses , It is very suitable for individuals and small businesses . however cpolar The role of is not limited to building websites , It can also be tested on Web pages 、 Telecommuting 、 Intranet data release 、 Build small servers and other aspects to show their skills . If you are right about cpolar Have any questions , Welcome to contact us , We will certainly provide you with assistance within our ability . Of course, you are welcome vip Customer join cpolar Official group , Explore together cpolar The infinite potential of .
边栏推荐
- Informatics Olympiad all in one YBT 1175: divide by 13 | openjudge noi 1.13 27: divide by 13
- PHP secondary domain name session sharing scheme
- Processing strategy of message queue message loss and repeated message sending
- Meituan side: why does thread crash not cause JVM crash
- ucore概述
- There are several APIs of airtest and poco that are easy to use wrong in "super". See if you have encountered them
- function overloading
- Mysql database DDL and DML
- 爱可可AI前沿推介(7.3)
- Daily code 300 lines learning notes day 10
猜你喜欢

A survey of state of the art on visual slam

斑马识别成狗,AI犯错的原因被斯坦福找到了

13mnnimo5-4 German standard steel plate 13MnNiMo54 boiler steel 13MnNiMo54 chemical properties

Explore Netease's large-scale automated testing solutions see here see here

爱可可AI前沿推介(7.3)

2022.02.14_ Daily question leetcode five hundred and forty

Idea configuration plug-in

跟我学企业级flutter项目:简化框架demo参考

美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃

What is the material of sa302grc? American standard container plate sa302grc chemical composition
随机推荐
Preventing/catching “IllegalArgumentException: parameter must be a descendant of this view” error
數據分析必備的能力
JSON 与 BSON 区别
8 cool visual charts to quickly write the visual analysis report that the boss likes to see
Using optimistic lock and pessimistic lock in MySQL to realize distributed lock
AcWing 第58 场周赛
Execute script unrecognized \r
Nifi from introduction to practice (nanny level tutorial) - flow
QT serial port UI design and solution to display Chinese garbled code
Data driving of appium framework for mobile terminal automated testing
中南大学|通过探索理解: 发现具有深度强化学习的可解释特征
Yu Wenwen, Hu Xia and other stars take you to play with the party. Pipi app ignites your summer
13mnnimo5-4 German standard steel plate 13MnNiMo54 boiler steel 13MnNiMo54 chemical properties
Visual SLAM algorithms: a survey from 2010 to 2016
Is it safe to open a stock account by mobile registration? Does it need money to open an account
CC2530 common registers for watchdog
香港理工大学|数据高效的强化学习和网络流量动态的自适应最优周界控制
爱可可AI前沿推介(7.3)
Hands on in-depth learning notes (XIV) 3.7 Simple implementation of softmax regression
Netease UI automation test exploration: airtest+poco