跳轉到內容
View in the app

A better way to browse. Learn more.

PHP論壇人

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

8.添加站点、SSL证书、伪静态

精選回覆

發表於

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

 

0.png

 

宝塔面板 -> 网站 -> 添加站点 -> 创建站点

 

域名 ->

域名.com
www.域名.com

 

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

 

数据库 -> MySQL -> utf8mb4

宝塔将自动生成数据库用户和用户密码,如果不想更换,就自行输入用户名与用户密码

-> 提交

1.png

 

 

 

 


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

宝塔面板 -> 网站 -> 网站名 -> 你的域名.com


SSL -> Let's Encrypt -> 验证方式 ->文件验证

域名 -> [v] 域名.com
域名 -> [v] www.域名.com

两个都选择 -> 申请

2.png

 

 

 

 


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

在上面,按 [v] 强制HTTPS

-> 保存

3.png

 

 

 

 

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


防盗链 -> 启用防盗链 -> 保存

4.png

 

 

 

 


-----------------------
伪静态
-----------------------

宝塔面板 -> 网站 -> 网站名 -> 你的域名.com -> 伪静态

 

复制这个伪静态

 

复制黏贴到宝塔的伪静态框内 -> 保存

5.png

本文章最後於,由Jack編輯

建立帳號或登入後發表意見

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.