secure-linux-web-hosting by xixu-me/skills
npx skills add https://github.com/xixu-me/skills --skill secure-linux-web-hosting使用此技能将 Linux 云主机转变为可安全访问的网络主机,无需依赖过时且特定于发行版的记忆或陈旧的 Debian-10 时代教程。
此技能保留了适合初学者的服务器指南中熟悉的教学流程,但将其转变为可重复使用的操作员工作流:
在给出可操作的命令之前,请先识别发行版家族,并针对用户所用发行版和所选工具的官方文档,验证当前的软件包名称、服务单元、配置路径和 ACME 客户端指南。
首先打开 references/workflow-map.md 查看阶段顺序,然后打开您需要的更具体的参考文件。
当用户提及以下任何内容时,使用此技能:
acme.sh、证书续订或将 HTTP 重定向到 HTTPS不要将此技能用于:
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
首先识别:
如果发行版未知,请在给出具体的软件包或服务命令前询问用户或让其检查 /etc/os-release。
使用捆绑的参考文件进行路径规划,然后在给出依赖于当前发行版行为的命令之前,根据最新的官方文档验证细节。
始终验证:
如果您无法验证某个细节,请如实说明并提供高级指导,而不是假装旧的 Debian 教程路径是通用的。
除非用户明确要求审查或修复现有设置,否则请按此顺序逐步执行各阶段:
不要将静态站点分支和反向代理分支合并为一个默认答案。选择与用户目标匹配的分支。
将这些视为硬性停止检查:
始终区分:
对于全新设置,请提供:
对于加固或故障排除审查,请提供:
使用 references/workflow-map.md 查看阶段图、分支逻辑和验证顺序。
当发行版家族、软件包管理器、防火墙工具或配置布局很重要时,使用 references/distro-routing.md。
当用户需要静态站点分支或反向代理分支时,使用 references/nginx-patterns.md。
使用 references/security-and-tls.md 获取 SSH 加固顺序、防火墙策略、证书签发、续订和重定向时机。
每周安装次数
2.3K
代码仓库
GitHub Stars
1
首次出现
今天
安全审计
安装于
opencode2.3K
gemini-cli2.3K
deepagents2.3K
antigravity2.3K
github-copilot2.3K
codex2.3K
Use this skill to turn a Linux cloud host into a safely reachable web host without leaning on stale distro-specific memory or outdated Debian-10-era tutorials.
This skill keeps the familiar teaching arc of a beginner-friendly server guide, but turns it into a reusable operator workflow:
Before giving actionable commands, identify the distro family and verify the current package names, service units, config paths, and ACME-client guidance against official documentation for the user's distro and chosen tools.
Open references/workflow-map.md first for the phase sequence, then open the narrower reference file you need.
Use this skill when the user mentions any of the following:
acme.sh, certificate renewal, or redirecting HTTP to HTTPSDo not use this skill for:
Start by identifying:
If the distro is unknown, ask for it or have the user inspect /etc/os-release before giving concrete package or service commands.
Use bundled references for routing, then verify details against live official docs before giving commands that depend on current distro behavior.
Always verify:
If you cannot verify a detail, say so and give high-level guidance instead of pretending the old Debian tutorial path is universal.
Walk through the phases in this order unless the user is explicitly asking for review or remediation of an existing setup:
Do not collapse the static-site branch and reverse-proxy branch into one default answer. Pick the branch that matches the user's goal.
Treat these as hard stop checks:
Always distinguish:
For a fresh setup, provide:
For a hardening or troubleshooting review, provide:
Use references/workflow-map.md for the phase map, branching logic, and validation order.
Use references/distro-routing.md when distro family, package manager, firewall tooling, or config layout matters.
Use references/nginx-patterns.md when the user needs the static-site branch or the reverse-proxy branch.
Use references/security-and-tls.md for SSH hardening sequence, firewall posture, certificate issuance, renewal, and redirect timing.
Weekly Installs
2.3K
Repository
GitHub Stars
1
First Seen
Today
Security Audits
Gen Agent Trust HubPassSocketPassSnykWarn
Installed on
opencode2.3K
gemini-cli2.3K
deepagents2.3K
antigravity2.3K
github-copilot2.3K
codex2.3K
LLM提示词缓存优化指南:降低90%成本,实现多级缓存与语义匹配
323 周安装
小红书内容转换器:一键将通用文章转为小红书爆款笔记格式 | AI写作助手
323 周安装
内容摘要AI工具:智能提取YouTube、网页、PDF和推文内容,支持测验学习和深度探索
324 周安装
Notion知识捕获工具 - 将对话笔记自动转化为结构化Notion页面 | 知识管理自动化
324 周安装
现代Angular最佳实践指南:TypeScript严格性、信号响应式、性能优化与测试
324 周安装
iOS VoIP 通话开发:CallKit + PushKit 集成原生通话 UI 指南
324 周安装