Compare commits

..

2 commits

Author SHA1 Message Date
Zaldimmar
48b61e6cc7 Version v1.14.2-present
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:57:32 -06:00
Zaldimmar
2d354a35c1 Docs: an nginx /api/admin/ block with a 4m body limit, so big saves don't get a 413
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 16:57:32 -06:00
2 changed files with 13 additions and 1 deletions

View file

@ -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

View file

@ -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