llms.txt配置

什么是llms.txt 配置 llmx.txt 增加流量

五月 9, 2025 · 1 分钟 · 18 字 · Kevin

Cloudflare 企业邮箱

参考 https://techins.xyz/effortless-business-email-setup-with-cloudflare-and-gmail 发信 配置 路径 Settings -> Accounts and Import -> Send mail as -> Add another email address 配置项 名称:你希望用户看到的 Email address:用来让收件人看到的地址 点击下一步,配置 smtp 弹框 配置 smtp SMTP 服务器:smtp.gmail.com (选择使用 Gmail 的 SMTP(smtp.gmail.com),这封信是从你的 Gmail 账户 发送的, Gmail 只是帮你在邮件的「From(发件人)」字段里显示另一个邮箱地址。) 用户名:您的 Gmail 邮箱地址,你用来代发的邮箱 密码:您的 Gmail 应用专用密码(非常重要,普通密码不适用,下面会介绍如何获取这个密码,如果密码错误会有如下图所示的报错) 勾选 TLS 选项: 开启两步验证 https://myaccount.google.com/security 2-Step Verification 创建应用密码 访问:https://myaccount.google.com/apppasswords 输入名字,点击创建,保存生成的密码,

四月 29, 2025 · 1 分钟 · 326 字 · Kevin

Cloudflare Tunnel配置

Cloudflare Tunnel 配置

三月 30, 2025 · 1 分钟 · 4 字 · Kevin

Cloudflare R2 配置

参考资料: https://developers.cloudflare.com/r2/examples/aws/aws-sdk-js-v3/ 需要获得这几个 key R2_ACCOUNT_ID: 一个账号是一个 ID R2_ACCESS_KEY_ID: R2_SECRET_ACCESS_KEY R2_BUCKET_NAME: Bucket的name 步骤 Step: 创建 Bucket 通过接口访问 step: 生成 API Key R2 → “Manage R2 API Tokens” → Create API Token 选择 Edit 权限 → 选择对应的 Bucket 记录: Access Key ID Secret Access Key Account ID(在 R2 页面右上角) Step: 配置域名来获得 Public Access 设置自定义域名 s.example.com来获得 public access ...

三月 27, 2025 · 1 分钟 · 261 字 · Kevin

Cloudflare Pages 301 重定向

在 Cloudflare 的 Page Rules(页面规则)中,你可以通过以下步骤设置 301 重定向,将 www.example.com 重定向到 example.com: 步骤: 登录 Cloudflare,进入你的 站点管理界面。 在左侧菜单中,点击 Rules(规则),然后选择 Page Rules(页面规则)。 点击 Create Page Rule(创建页面规则)。 在 If the URL matches(如果 URL 匹配)字段输入:https://www.example.com/* (注意 * 号表示匹配 www.example.com 下的所有路径) 在 Then the settings are(然后执行以下设置)中选择 Forwarding URL(转发 URL)。 在 Select status code(选择状态码)下拉菜单中,选择 301 - Permanent Redirect(301 - 永久重定向)。 在 Enter destination URL(输入目标 URL)中填入:https://example.com/{$1},($1 用于保留原始路径) 勾选 Preserve query string 点击 Save and Deploy(保存并部署)。 说明: 这样设置后,www.example.com/abc 会自动 301 重定向到 example.com/abc,确保所有子路径也正确跳转。 301 重定向是永久性重定向,有利于 SEO,使搜索引擎知道 example.com 是主站点。 确保 example.com 也在 Cloudflare 管理下,否则目标站点可能无法正确解析。 如果你的站点使用 Cloudflare 的 Redirect Rules(重定向规则),你也可以在 Rules > Redirect Rules 里进行类似的配置,推荐使用 301 永久重定向 以优化 SEO。 ...

三月 25, 2025 · 2 分钟 · 533 字 · Kevin