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 diff --git a/src/lib/version.ts b/src/lib/version.ts index cf9a078..ed936f0 100644 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -10,7 +10,7 @@ A version with no words after its number has no name. ═══════════════════════════════════════════════════════════════ */ -export const SITE_VERSION = "NGU-Web.v1.14.1-schedule"; +export const SITE_VERSION = "NGU-Web.v1.14.2-present"; /** The number, eg. v1.13.2. */ export const VERSION_NUMBER: string = SITE_VERSION.match(/v\d+(?:\.\d+)*/)?.[0] ?? SITE_VERSION