Implement Phase 2 asset storage pipeline

This commit is contained in:
Media
2026-08-16 19:59:10 -05:00
parent eb19675a5c
commit 722c6cf77d
29 changed files with 5059 additions and 16 deletions
+8
View File
@@ -10,6 +10,9 @@ server {
root /usr/share/nginx/html;
index index.html;
# Matches the default API allowance of twenty 25 MiB files plus multipart
# overhead. Keep this in sync if the backend upload limits are raised.
client_max_body_size 512m;
resolver 127.0.0.11 valid=10s ipv6=off;
set $api_origin http://api:7532;
@@ -17,6 +20,11 @@ server {
location ~ ^/(api|health|media)(/|$) {
proxy_pass $api_origin;
proxy_http_version 1.1;
proxy_connect_timeout 5s;
# Multipart requests return only after image processing and private-S3
# writes complete. This is an inactivity timeout, not a size limit.
proxy_read_timeout 10m;
proxy_send_timeout 10m;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;