<?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[413 Content Too Large on video upload (inner nginx client_max_body_size seems too low?)]]></title><description><![CDATA[<p dir="auto">Hi folks <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f44b.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--wave" style="height:23px;width:auto;vertical-align:middle" title="👋" alt="👋" /></p>
<p dir="auto">I’m running the Cloudron Postiz app and I’m blocked uploading videos because Postiz returns:</p>
<p dir="auto"><strong>413 Content Too Large</strong> on:<br />
<code>POST /api/media/upload-server</code></p>
<p dir="auto">In the browser Network panel I see the response header <code>server: nginx</code> and the upload fails around ~5MB.</p>
<p dir="auto">I confirmed with an internal test that this is <strong>not</strong> Cloudron’s outer proxy, but the <strong>nginx inside the Postiz container</strong>:</p>
<pre><code class="language-sh"># created a 6MB file...
dd if=/dev/zero of=/tmp/6mb.bin bs=1M count=6

# called the Postiz nginx directly (inside the container)
curl -sS -o /dev/null -w "%{http_code}\n" \
  -F "file=@/tmp/6mb.bin" \
  http://127.0.0.1:5000/api/media/upload-server
# =&gt; 413
</code></pre>
<p dir="auto">The nginx vhost used by the container is:</p>
<p dir="auto"><code>/etc/nginx/sites-enabled/postiz.conf</code></p>
<p dir="auto">and currently it contains no <code>client_max_body_size directive</code> (also confirmed via <code>nginx -T | grep client_max_body_size</code> → no output). Adding <code>client_max_body_size</code> would be the standard nginx fix (Postiz docs also suggest it for 413s).</p>
<p dir="auto">However, because this is a Cloudron app, I can’t apply persistent patches to the packaged nginx config within the container, right? (Am I missing something here?).</p>
<p dir="auto"><strong>Request/proposal:</strong><br />
Could the Cloudron Postiz package include a higher client_max_body_size (or make it configurable), ideally scoped to the API location block?</p>
<p dir="auto">Example:</p>
<pre><code class="language-nginx">location /api/ {
    client_max_body_size 200M;  # or 1G
    proxy_pass http://localhost:3000/;
    ...
}
</code></pre>
<p dir="auto">Happy to test a package build or PR if you point me to the exact config template file used to generate /etc/nginx/sites-enabled/postiz.conf.</p>
<p dir="auto">Thanks! <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f604.png?v=665e13d50c8" class="not-responsive emoji emoji-android emoji--smile" style="height:23px;width:auto;vertical-align:middle" title="😄" alt="😄" /></p>
]]></description><link>https://forum.cloudron.io/topic/14972/413-content-too-large-on-video-upload-inner-nginx-client_max_body_size-seems-too-low</link><generator>RSS for Node</generator><lastBuildDate>Thu, 16 Apr 2026 21:22:05 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/14972.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 29 Jan 2026 16:25:24 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to 413 Content Too Large on video upload (inner nginx client_max_body_size seems too low?) on Thu, 29 Jan 2026 23:10:59 GMT]]></title><description><![CDATA[<p dir="auto">Hello <a class="plugin-mentions-user plugin-mentions-a" href="/user/zigmasdirigeant" aria-label="Profile: zigmasdirigeant">@<bdi>zigmasdirigeant</bdi></a></p>
<p dir="auto">Thanks to your detailed report I was able to reproduce this issue right away.<br />
I will look into it.<br />
Either setting <code>client_max_body_size 0;</code> or make it configurable.</p>
]]></description><link>https://forum.cloudron.io/post/119371</link><guid isPermaLink="true">https://forum.cloudron.io/post/119371</guid><dc:creator><![CDATA[james]]></dc:creator><pubDate>Thu, 29 Jan 2026 23:10:59 GMT</pubDate></item></channel></rss>