fix(frontend): nginx client_max_body_size 50m für große /api-Uploads
Der Reverse-Proxy des Frontend-Containers hatte kein client_max_body_size (Default 1 MB) → 413 bei größeren Uploads (RennmausPro-Backups, Foto-Anhänge, und v. a. resolved_import.json ~6,6 MB für /api/import/ingest-resolved/upload). Limit auf 50m angehoben, damit der Prod-Re-Ingest per HTTP-Upload ohne SSH funktioniert. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -19,6 +19,10 @@ RUN printf 'server {\n\
|
|||||||
listen 80;\n\
|
listen 80;\n\
|
||||||
root /usr/share/nginx/html;\n\
|
root /usr/share/nginx/html;\n\
|
||||||
index index.html;\n\
|
index index.html;\n\
|
||||||
|
\n\
|
||||||
|
# Upload-Groesse: erlaubt grosse /api-Uploads (RennmausPro-Backups, Foto-Anhaenge,\n\
|
||||||
|
# resolved_import.json fuer den Prod-Re-Ingest via /api/import/ingest-resolved/upload).\n\
|
||||||
|
client_max_body_size 50m;\n\
|
||||||
\n\
|
\n\
|
||||||
# API-Aufrufe: /api/* -> API-Container /* (Praefix wird entfernt)\n\
|
# API-Aufrufe: /api/* -> API-Container /* (Praefix wird entfernt)\n\
|
||||||
location /api/ {\n\
|
location /api/ {\n\
|
||||||
|
|||||||
Reference in New Issue
Block a user