diff --git a/docs/seo.md b/docs/seo.md index 9b9cf26..84770f6 100644 --- a/docs/seo.md +++ b/docs/seo.md @@ -111,6 +111,18 @@ with it off it blocks everything. client_max_body_size 26m; proxy_read_timeout 60s; } + + # The admin's saves send a record whole (every content block, + # schedule entry and sub-item), well over 64k for a big page or + # event: nginx answers 413 "Too large for the web server" without + # this. A longer prefix than /api/, so it wins; the exact and + # longer admin blocks (media, files, import, clips) still win over + # it. Same proxy_set_header lines as /api/. + location /api/admin/ { + proxy_pass http://127.0.0.1:3001; + client_max_body_size 4m; + proxy_read_timeout 30s; + } ``` Keep the existing `/api/` and `/uploads/` blocks; they're more