当前位置:网站首页>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 .
边栏推荐
- 跟我学企业级flutter项目:简化框架demo参考
- 消息队列消息丢失和消息重复发送的处理策略
- PHP converts a one-dimensional array into a two-dimensional array
- Add color to the interface automation test framework and realize the enterprise wechat test report
- QT串口ui设计和解决显示中文乱码
- CC2530 common registers
- MySQL Basics
- There are several APIs of airtest and poco that are easy to use wrong in "super". See if you have encountered them
- [solved] access denied for user 'root' @ 'localhost' (using password: yes)
- Summary of three methods of PHP looping through arrays list (), each (), and while
猜你喜欢

2022 love analysis · panoramic report of digital manufacturers of state-owned enterprises

Why is WPA3 security of enterprise business so important?

MySQL converts comma separated attribute field data from column to row

Mysql database DDL and DML

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

Thread pool executes scheduled tasks

What material is sa537cl2 equivalent to in China? Sa537cl2 corresponding material

Idea configuration plug-in

word 退格键删除不了选中文本,只能按delete

Yu Wenwen, Hu Xia and other stars take you to play with the party. Pipi app ignites your summer
随机推荐
Client does not support authentication protocol requested by server; consider upgrading MySQL client
PyTorch 1.12发布,正式支持苹果M1芯片GPU加速,修复众多Bug
2022.02.14_ Daily question leetcode five hundred and forty
【剑指 Offer】58 - I. 翻转单词顺序
How programming apes grow rapidly
Alibaba P8 painstakingly sorted it out. Summary of APP UI automated testing ideas. Check it out
What material is sa537cl2? Analysis of mechanical properties of American standard container plate
CC2530 common registers for crystal oscillator settings
How to judge the region of an IP through C?
Why is WPA3 security of enterprise business so important?
美团一面:为什么线程崩溃崩溃不会导致 JVM 崩溃
Google Earth engine (GEE) - daymet v4: daily surface weather data set (1000m resolution) including data acquisition methods for each day
爱可可AI前沿推介(7.3)
Processing strategy of message queue message loss and repeated message sending
[2. Basics of Delphi grammar] 1 Identifiers and reserved words
LeetCode 1657. Determine whether the two strings are close
PHP secondary domain name session sharing scheme
NSQ source code installation and operation process
LeetCode 1658. Minimum operand to reduce x to 0
NLP四范式:范式一:非神经网络时代的完全监督学习(特征工程);范式二:基于神经网络的完全监督学习(架构工程);范式三:预训练,精调范式(目标工程);范式四:预训练,提示,预测范式(Prompt工程)