<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Nginx 后面套 FRP，上传头像偶尔 502]]></title><description><![CDATA[<p dir="auto">NodeBB 走 Nginx，再过 FRP 到内网。文字发帖正常，上传头像和附件偶尔 502，重试又好。</p>
]]></description><link>https://localaihub.com/topic/168/nginx-后面套-frp-上传头像偶尔-502</link><generator>RSS for Node</generator><lastBuildDate>Wed, 03 Jun 2026 19:44:42 GMT</lastBuildDate><atom:link href="https://localaihub.com/topic/168.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 12 May 2026 01:45:00 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 14:39:00 GMT]]></title><description><![CDATA[<p dir="auto">复盘就别写“已彻底修复”。写当前边界和下一步迁移上传链路。</p>
]]></description><link>https://localaihub.com/post/1783</link><guid isPermaLink="true">https://localaihub.com/post/1783</guid><dc:creator><![CDATA[阿航]]></dc:creator><pubDate>Tue, 12 May 2026 14:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 14:25:00 GMT]]></title><description><![CDATA[<p dir="auto">调了外层和内层限制，5M 内稳定，20M 仍旧偶发断。</p>
]]></description><link>https://localaihub.com/post/1782</link><guid isPermaLink="true">https://localaihub.com/post/1782</guid><dc:creator><![CDATA[小曹]]></dc:creator><pubDate>Tue, 12 May 2026 14:25:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 12:39:00 GMT]]></title><description><![CDATA[<p dir="auto">那至少写清限制：允许大小、超时、失败提示、重试策略。别让用户看 502。</p>
]]></description><link>https://localaihub.com/post/1781</link><guid isPermaLink="true">https://localaihub.com/post/1781</guid><dc:creator><![CDATA[Grace]]></dc:creator><pubDate>Tue, 12 May 2026 12:39:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 10:30:00 GMT]]></title><description><![CDATA[<p dir="auto">早期只有一台机器，暂时还得 FRP。</p>
]]></description><link>https://localaihub.com/post/1780</link><guid isPermaLink="true">https://localaihub.com/post/1780</guid><dc:creator><![CDATA[小曹]]></dc:creator><pubDate>Tue, 12 May 2026 10:30:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 09:47:00 GMT]]></title><description><![CDATA[<p dir="auto">我建议上传走对象存储或至少直连内网服务，别让 FRP 扛大文件。</p>
]]></description><link>https://localaihub.com/post/1779</link><guid isPermaLink="true">https://localaihub.com/post/1779</guid><dc:creator><![CDATA[半糖]]></dc:creator><pubDate>Tue, 12 May 2026 09:47:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 09:17:00 GMT]]></title><description><![CDATA[<p dir="auto">这就像链路不稳。先用固定大小文件压测 1M、5M、20M，不要靠用户头像随机复现。</p>
]]></description><link>https://localaihub.com/post/1778</link><guid isPermaLink="true">https://localaihub.com/post/1778</guid><dc:creator><![CDATA[林小北]]></dc:creator><pubDate>Tue, 12 May 2026 09:17:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 08:55:00 GMT]]></title><description><![CDATA[<p dir="auto">FRP 里有几条 <code>broken pipe</code>，但不是每次。</p>
]]></description><link>https://localaihub.com/post/1777</link><guid isPermaLink="true">https://localaihub.com/post/1777</guid><dc:creator><![CDATA[小曹]]></dc:creator><pubDate>Tue, 12 May 2026 08:55:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 08:23:00 GMT]]></title><description><![CDATA[<p dir="auto">还有 <code>proxy_request_buffering</code>。如果内网链路慢，缓冲策略会影响失败形态。</p>
]]></description><link>https://localaihub.com/post/1776</link><guid isPermaLink="true">https://localaihub.com/post/1776</guid><dc:creator><![CDATA[melo]]></dc:creator><pubDate>Tue, 12 May 2026 08:23:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 07:37:00 GMT]]></title><description><![CDATA[<p dir="auto"><code>client_max_body_size</code> 只在外层 Nginx 配够也不够，内层代理和应用限制也要一致。</p>
]]></description><link>https://localaihub.com/post/1775</link><guid isPermaLink="true">https://localaihub.com/post/1775</guid><dc:creator><![CDATA[小吴]]></dc:creator><pubDate>Tue, 12 May 2026 07:37:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 07:05:00 GMT]]></title><description><![CDATA[<p dir="auto">看 FRP 日志同一时间有没有连接断开。上传比普通请求更容易暴露 body size、buffer、timeout。</p>
]]></description><link>https://localaihub.com/post/1774</link><guid isPermaLink="true">https://localaihub.com/post/1774</guid><dc:creator><![CDATA[nora]]></dc:creator><pubDate>Tue, 12 May 2026 07:05:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 04:45:00 GMT]]></title><description><![CDATA[<p dir="auto">Nginx error 里有 upstream prematurely closed connection。</p>
]]></description><link>https://localaihub.com/post/1773</link><guid isPermaLink="true">https://localaihub.com/post/1773</guid><dc:creator><![CDATA[小曹]]></dc:creator><pubDate>Tue, 12 May 2026 04:45:00 GMT</pubDate></item><item><title><![CDATA[Reply to Nginx 后面套 FRP，上传头像偶尔 502 on Tue, 12 May 2026 02:44:00 GMT]]></title><description><![CDATA[<p dir="auto">先分层。浏览器到 Nginx、Nginx 到 FRP、FRP 到 NodeBB，分别看请求体大小和超时。</p>
]]></description><link>https://localaihub.com/post/1772</link><guid isPermaLink="true">https://localaihub.com/post/1772</guid><dc:creator><![CDATA[阿航]]></dc:creator><pubDate>Tue, 12 May 2026 02:44:00 GMT</pubDate></item></channel></rss>