Jump to content
PHP論壇人

添加站点、SSL证书、防盗链


Jack

Recommended Posts

-----------------------
添加站点
-----------------------

Website -> Add site

Domain name ->

域名.com
www.域名.com

如果你以 域名.com 为主,而 www.域名.com 会转到 域名.com,第一行则是填入 域名.com

Database -> MySQL

将自动生成数据库用户名和密码

-> Submit

add1.png

 

 

 


-----------------------
SSL证书
-----------------------

Site name -> 点击 你的域名.com

add2.png

 

 

add3.png

 

 

 

SSL -> Let's Encrypt

Verification mode 验证方式 -> (.) File verification 文件验证

Domain name -> [v] Select All

-> Apply -> Apply and open

完成后,获得密钥(KEY)、证书(PEM格式)

右上方,按 [v] Force HTTPS  强制HTTPS

add4.png

 

 

 

 

-----------------------
防盗链
-----------------------

Hotlink Protection -> 

[v] Enable hotlink protection 启用防盗链

[v] Allow empty HTTP_REFERER requests

add5.png

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...