diff --git a/docs/.vuepress/public/img/guide/reverse_proxy/bt_delete_default_config_01.png b/docs/.vuepress/public/img/guide/reverse_proxy/bt_delete_default_config_01.png new file mode 100644 index 000000000..af61fef01 Binary files /dev/null and b/docs/.vuepress/public/img/guide/reverse_proxy/bt_delete_default_config_01.png differ diff --git a/docs/.vuepress/public/img/guide/reverse_proxy/bt_delete_default_config_02.png b/docs/.vuepress/public/img/guide/reverse_proxy/bt_delete_default_config_02.png new file mode 100644 index 000000000..29f12c2dc Binary files /dev/null and b/docs/.vuepress/public/img/guide/reverse_proxy/bt_delete_default_config_02.png differ diff --git a/docs/.vuepress/public/img/guide/reverse_proxy/bt_new_website.png b/docs/.vuepress/public/img/guide/reverse_proxy/bt_new_website.png new file mode 100644 index 000000000..30f219bca Binary files /dev/null and b/docs/.vuepress/public/img/guide/reverse_proxy/bt_new_website.png differ diff --git a/docs/.vuepress/public/img/guide/reverse_proxy/bt_new_website_01.png b/docs/.vuepress/public/img/guide/reverse_proxy/bt_new_website_01.png new file mode 100644 index 000000000..9094c0d3d Binary files /dev/null and b/docs/.vuepress/public/img/guide/reverse_proxy/bt_new_website_01.png differ diff --git a/docs/.vuepress/public/img/guide/reverse_proxy/bt_reverse_proxy.png b/docs/.vuepress/public/img/guide/reverse_proxy/bt_reverse_proxy.png new file mode 100644 index 000000000..586790dab Binary files /dev/null and b/docs/.vuepress/public/img/guide/reverse_proxy/bt_reverse_proxy.png differ diff --git a/docs/guide/install/reverse-proxy.md b/docs/guide/install/reverse-proxy.md index 485573bb4..a97c2738a 100644 --- a/docs/guide/install/reverse-proxy.md +++ b/docs/guide/install/reverse-proxy.md @@ -73,12 +73,24 @@ Add the reverse_proxy configuration item reverse_proxy under the Caddyfile file, } ``` -### **A simple demonstration of setting up a reverse proxy in Pagoda** +## **Demonstration of Setting up Reverse Proxy in BT Panel** -First create a new site, **Alist Launcher** does not matter whether it is in the site folder, and then add it as shown in the figure below. +#### 1.Login to the BT panel and add a new website. -- ==Also, if you want to use Pagoda to open **SSL(HTTPS)**, you need to add it before the reverse proxy, otherwise you cannot open SSL== - - If you have already added a reverse proxy, you can stop it first **(the one in the picture that turns on the proxy button can just turn it off)**, enable SSL and then turn on the reverse proxy +![bt_new_website](/img/guide/reverse_proxy/bt_new_website.png) +#### 2.Modify the website settings. -![BT](https://alist-doc.nn.ci/assets/images/BT-Proxy-5913c3786afba1417362c71f0af73ea9.png) \ No newline at end of file +![bt_new_website_01](/img/guide/reverse_proxy/bt_new_website_01.png) + +#### 3.Remove the default panel code. + +![bt_delete_default_config_01](/img/guide/reverse_proxy/bt_delete_default_config_01.png) + +![bt_delete_default_config_02](/img/guide/reverse_proxy/bt_delete_default_config_02.png) + +#### 4.Add the reverse proxy. + +![bt_reverse_proxy](/img/guide/reverse_proxy/bt_reverse_proxy.png) + +> If you need to apply for an `SSL certificate`, you can first apply for the certificate in the `SSL` option, and then set up the reverse proxy. Alternatively, you can set up the reverse proxy first, disable the proxy function, apply for an `SSL` certificate, and then enable the proxy again. \ No newline at end of file diff --git a/docs/zh/guide/install/reverse-proxy.md b/docs/zh/guide/install/reverse-proxy.md index cdfa8c77d..ae4c6b1e2 100644 --- a/docs/zh/guide/install/reverse-proxy.md +++ b/docs/zh/guide/install/reverse-proxy.md @@ -93,11 +93,24 @@ example.com { 将 `example.com` 替换为你自己解析后的域名。 ``` -## **宝塔设置反向代理简单示范** +## **宝塔设置反向代理示范** -首先新建一个站点,**Alist启动程序** 在不在这个站点文件夹内都无所谓,然后照着下图添加即可。 +#### 1.登录宝塔面板,添加站点; -- ==还有就是如果你要用宝塔开启 **SSL(HTTPS)**, 你需要在反向代理之前添加不然无法开启SSL== - - 如果你已经添加了反向代理,可以先停止 **(图片里面哪个开启代理按钮关了它就行)** ,开启了SSL再把反向代理打开即可 +![bt_new_website](/img/guide/reverse_proxy/bt_new_website.png) -![BT](https://alist-doc.nn.ci/assets/images/BT-Proxy-5913c3786afba1417362c71f0af73ea9.png) \ No newline at end of file +#### 2.修改站点设置; + +![bt_new_website_01](/img/guide/reverse_proxy/bt_new_website_01.png) + +#### 3.删除面板默认代码; + +![bt_delete_default_config_01](/img/guide/reverse_proxy/bt_delete_default_config_01.png) + +![bt_delete_default_config_02](/img/guide/reverse_proxy/bt_delete_default_config_02.png) + +#### 4.添加反向代理; + +![bt_reverse_proxy](/img/guide/reverse_proxy/bt_reverse_proxy.png) + +> 如需申请`SSL`证书,可先在`SSL`选项中申请证书,然后在设置反向代理。或者设置反向代理之后,关闭反向代理功能,申请`SSL`证书后再次开启代理。 \ No newline at end of file