-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
规范与想法 #17
Comments
规范里面提到的: |
第二点:指文档中那种 “TIP”、“注意”之类的颜色块,应该规定格式和颜色之类的。
第三点:目前我也没想好具体的规范,这里只是先提一下,或许可以参考其它项目。
…On Sun, Jan 10, 2021, 5:13 PM Arthur Morgan ***@***.***> wrote:
规范
1. 文档编写应该遵循中文文案排版指北
<https://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.zh-CN.md>
。
2. 文档中 notice 的使用。
3. 文档中使用的图片的放置目录。
4. 链接地址使用相对位置。
想法
1. 文档添加许可证(eg. CC BY-NC-SA 4.0)。
2. 更多语言。
3. 换博客系统/主题。
关于最后一条,一个是因为移动端适配,再就是代码块显示问题。我尝试直接写 HTML 代码貌似都没能解决……
规范里面提到的:
第一点, 同意, 文档需要重新从头梳理一遍排版格式了.
第二点, 具体指什么?
第三点, 是建议统一到一个目录吗?
第四点, 大部分应该是相对路径, 也需要梳理一遍了.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#17 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ3STBGK2QYX2S4EDLYCEODSZFVSLANCNFSM4V4EANLQ>
.
|
许可证已添加 |
链接地址使用相对位置已经修改. |
英文翻译开始了. |
请求 SNI 分流一些实际例子; |
@alexallen1 是的。 Fallbacks 功能一共有五个选项,Xray 会根据请求的 有关于 SNI 分流的文档我正在写,这里有一张图片可能对你有帮助。 |
@BioniCosmos 小弟水平不够~如果有几个样本json稍微好些 |
{
"log": {
"loglevel": "warning"
},
"inbounds": [
{
"port": 443,
"protocol": "vless",
"settings": {
"clients": [
{
"id": "UUID",
"flow": "xtls-rprx-direct"
}
],
"decryption": "none",
"fallbacks": [
{
"name": "example.com",
"path": "/vmessws",
"dest": 5000,
"xver": 1
},
{
"dest": 5001,
"xver": 1
},
{
"alpn": "h2",
"dest": 5002,
"xver": 1
},
{
"name": "blog.example.com",
"dest": 5003,
"xver": 1
},
{
"name": "blog.example.com",
"alpn": "h2",
"dest": 5004,
"xver": 1
}
]
},
"streamSettings": {
"network": "tcp",
"security": "xtls",
"xtlsSettings": {
"alpn": [
"h2",
"http/1.1"
],
"certificates": [
{
"certificateFile": "/etc/ssl/xray/cert.pem",
"keyFile": "/etc/ssl/xray/privkey.key"
}
]
}
}
},
{
"listen": "127.0.0.1",
"port": 5000,
"protocol": "vmess",
"settings": {
"clients": [
{
"id": "UUID"
}
]
},
"streamSettings": {
"network": "ws",
"wsSettings": {
"acceptProxyProtocol": true,
"path": "/vmessws"
}
}
}
],
"outbounds": [
{
"protocol": "freedom"
}
]
} 这是上面那张图片的具体实现。 |
@BioniCosmos 感谢!赶紧试试~ |
Next 文档中已经基本实现上述建议了,遂关闭之。 |
规范
想法
关于最后一条,一个是因为移动端适配,再就是代码块显示问题。我尝试直接写 HTML 代码貌似都没能解决……
The text was updated successfully, but these errors were encountered: