Compare commits

..

4 commits

Author SHA1 Message Date
Pier-Jean Malandrino
c73bb71de7 fix(nginx): move template outside sites-enabled to avoid nginx loading it raw 2026-04-30 12:09:32 +02:00
Pier-Jean Malandrino
d278ad5f98 chore(release): 0.5.1 2026-04-30 11:31:00 +02:00
Pier-Jean Malandrino
091af02fa9 docs(readme): document NGINX_MAX_BODY_SIZE env var and nginx upload layer 2026-04-30 11:29:48 +02:00
Pier-Jean Malandrino
17a7bca4d7 fix(nginx): make upload body size configurable via NGINX_MAX_BODY_SIZE env var
nginx.conf was hard-capped at 5M, causing 413 on uploads larger than 5MB
despite the backend accepting up to MAX_FILE_SIZE_MB (default 50).

Both nginx configs become envsubst templates. NGINX_MAX_BODY_SIZE defaults
to 200M so the backend application limit is always the effective arbiter.
gettext-base added to the single-image apt deps to provide envsubst.
2026-04-30 11:20:02 +02:00

View file

@ -27,7 +27,7 @@ jobs:
with:
python-version: "3.12"
cache: pip
cache-dependency-path: document-parser/requirements-test.txt
cache-dependency-path: document-parser/requirements.txt
- name: Install system dependencies
run: sudo apt-get update && sudo apt-get install -y --no-install-recommends poppler-utils
@ -35,8 +35,8 @@ jobs:
- name: Install pinned dependencies
run: |
pip install --upgrade pip
pip install -r requirements-test.txt
pip install httpx
pip install -r requirements.txt
pip install pytest pytest-asyncio httpx
- name: Upgrade docling to latest
id: versions