Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit 36f9231

Browse files
author
喵二
committed
chore: update
chore: update
1 parent 0041f0b commit 36f9231

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/use/1panel-deploy.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_
3131

3232
再到网站中创建网站,网站类型选择 `反向代理` ,这里的主域名就是你的后端地址。
3333

34-
创建网站,例如 server.test.cn
34+
创建网站,填入主域名处,例如 server.test.cn
3535

3636
代理地址填写 `http://127.0.0.1:2333` 确认后返回到网站列表,点击创建好的网站的配置。
3737

@@ -41,7 +41,7 @@ curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_
4141

4242
在网站配置栏找到 `配置文件` 这里就是 OpenResty 的 Nginx 配置文件了
4343

44-
location / { proxy_pass http://127.0.0.1:2333/ 这两行完全替换以下配置
44+
配置文件在中找到 location / { proxy_pass http://127.0.0.1:2333/ } 这三行完全替换以下配置
4545

4646
```nginx
4747
location /socket.io {
@@ -78,7 +78,7 @@ curl -sSL https://resource.fit2cloud.com/1panel/package/quick_start.sh -o quick_
7878

7979
填写完成后点击保存,提示更新成功即可进入配置反向代理。
8080

81-
location / { proxy_pass http://127.0.0.1:2323/ 这两行完全替换以下配置
81+
在配置文件中找到 location / { proxy_pass http://127.0.0.1:2323/ } 这三行完全替换以下配置
8282

8383
```ngnix
8484
location ~* \/(feed|sitemap|atom.xml)

0 commit comments

Comments
 (0)