<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>胖叔网络科技</title>
    <link>https://bg.pswlfz.com</link>
    <description>记录技术实践与踩坑经验，沉淀可复用的方案、脚本与配置资源。</description>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 16 Sep 2026 18:20:28 GMT</lastBuildDate>
    <atom:link href="https://bg.pswlfz.com/rss.xml" rel="self" type="application/rss+xml"/>
    <item>
      <title>Nginx 502 与 504 排查手册：先分清是&quot;连不上&quot;还是&quot;等太久&quot;</title>
      <link>https://bg.pswlfz.com/post/nginx-502-504-troubleshooting</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/nginx-502-504-troubleshooting</guid>
      <pubDate>Thu, 03 Sep 2026 07:30:00 GMT</pubDate>
      <description>502 和 504 看着都是网关错误，但成因完全相反：一个是上游根本没连上，一个是连上了但超时。搞混方向会让排查绕大圈。</description>
      <category>Nginx</category>
      <category>反向代理</category>
      <category>性能</category>
      <category>故障排查</category>
    </item>
    <item>
      <title>宝塔面板部署 Node.js 项目完整实践：从裸机到 HTTPS</title>
      <link>https://bg.pswlfz.com/post/baota-deploy-nodejs-guide</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/baota-deploy-nodejs-guide</guid>
      <pubDate>Tue, 01 Sep 2026 01:30:00 GMT</pubDate>
      <description>把一台只有 SSH 的裸机变成能跑 Node.js 站点的生产环境：装运行时、传项目、PM2 守护、Nginx 反代、签发证书，每一步都附实际命令与踩坑点。</description>
      <category>HTTPS</category>
      <category>Nginx</category>
      <category>Node.js</category>
      <category>PM2</category>
      <category>宝塔面板</category>
    </item>
    <item>
      <title>PM2 实用配置：小内存机器的进程守护方案</title>
      <link>https://bg.pswlfz.com/post/pm2-production-config</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/pm2-production-config</guid>
      <pubDate>Tue, 15 Sep 2026 03:30:00 GMT</pubDate>
      <description>PM2 不只是&quot;让进程后台运行&quot;。配好内存上限重启、日志轮转和开机自启，才算真正把服务交给它管。</description>
      <category>Node.js</category>
      <category>PM2</category>
      <category>日志</category>
      <category>进程守护</category>
    </item>
    <item>
      <title>Docker 容器内存限制与 OOM 排查实战</title>
      <link>https://bg.pswlfz.com/post/docker-oom-troubleshooting</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/docker-oom-troubleshooting</guid>
      <pubDate>Sun, 13 Sep 2026 05:30:00 GMT</pubDate>
      <description>容器被 OOM Killer 干掉时往往只有一句 &quot;Killed&quot;，没有堆栈没有日志。这篇文章讲清楚怎么提前设限、怎么定位真凶。</description>
      <category>Docker</category>
      <category>OOM</category>
      <category>内存</category>
      <category>故障排查</category>
    </item>
    <item>
      <title>服务器安全加固：从 SSH 到应用层的 18 项检查</title>
      <link>https://bg.pswlfz.com/post/server-security-hardening</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/server-security-hardening</guid>
      <pubDate>Fri, 11 Sep 2026 07:30:00 GMT</pubDate>
      <description>按攻击面从外到内整理了一份可执行清单，每项都标注了宝塔面板中的对应操作路径，照着做一遍就能把常见风险堵住。</description>
      <category>SSH</category>
      <category>安全加固</category>
      <category>权限</category>
      <category>防火墙</category>
    </item>
    <item>
      <title>服务器只读巡检脚本：部署前先给机器做个体检</title>
      <link>https://bg.pswlfz.com/post/server-inspect-script</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/server-inspect-script</guid>
      <pubDate>Wed, 09 Sep 2026 01:30:00 GMT</pubDate>
      <description>一条命令输出系统、CPU、内存、磁盘、端口、容器与工具链的完整快照，全程只读不修改任何状态，适合部署前评估和定期巡检。</description>
      <category>Shell</category>
      <category>巡检</category>
      <category>脚本</category>
      <category>运维</category>
    </item>
    <item>
      <title>Node.js 实现文件下载服务：下载计数、断点续传与防盗链</title>
      <link>https://bg.pswlfz.com/post/nodejs-file-download-service</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/nodejs-file-download-service</guid>
      <pubDate>Mon, 07 Sep 2026 03:30:00 GMT</pubDate>
      <description>一个看似简单的下载接口，要处理好下载计数、中文文件名、大文件断点续传和防盗链四件事，才算真正能用。</description>
      <category>Express</category>
      <category>HTTP</category>
      <category>Node.js</category>
      <category>文件下载</category>
    </item>
    <item>
      <title>SQLite 在 1GB 内存服务器上的调优笔记</title>
      <link>https://bg.pswlfz.com/post/sqlite-tuning-low-memory-server</link>
      <guid isPermaLink="true">https://bg.pswlfz.com/post/sqlite-tuning-low-memory-server</guid>
      <pubDate>Sat, 05 Sep 2026 05:30:00 GMT</pubDate>
      <description>单文件数据库在低配机器上其实非常能打，前提是把 WAL、缓存和同步策略这几个参数配对。附完整的 PRAGMA 配置和三个反模式。</description>
      <category>SQLite</category>
      <category>WAL</category>
      <category>低配服务器</category>
      <category>性能优化</category>
    </item>
  </channel>
</rss>