-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
14 changed files
with
6,114 additions
and
4,899 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
--- | ||
title: AI 产品 | ||
category: 知识分享 | ||
article: true | ||
--- | ||
|
||
## 聊天 AI | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
title: 逃离羊圈 | ||
category: 知识分享 | ||
article: false | ||
--- | ||
|
||
hy2 是一个比较好用的工具,在 Ubuntu 下: | ||
|
||
```sh | ||
curl -fsSL https://get.hy2.sh | bash | ||
``` | ||
|
||
编辑配置文件,注意建议改掉端口号 | ||
|
||
```sh | ||
vim /etc/hysteria/config.yaml | ||
``` | ||
|
||
开始启动前一定要关掉 nginx,配置的域名 dns 一定要指向本机 ip,否则无法申请证书成功,启动如果没有问题,那么,便可以启动 nginx 反代并添加如下内容 | ||
|
||
```plain | ||
# 不要添加到 http 块 | ||
stream { | ||
server { | ||
listen 443 udp; | ||
listen [::]:443 udp; | ||
listen 443; | ||
listen [::]:443; | ||
proxy_pass 127.0.0.1:1443; | ||
} | ||
} | ||
``` | ||
|
||
客户端填上域名和服务器配置的密码开始逃离吧 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.