Andrey Antukh 80c84a3331
🐛 Strip Authorization header when proxying asset redirects to S3 (#10777)
When nginx follows a backend 307 redirect to a presigned S3 URL, it was
forwarding the client's Authorization header to S3. Production S3 rejects
this because it sees two auth mechanisms (presigned URL signature +
Authorization header). MinIO in devenv is more lenient and ignores the
extra header.

Fix: add proxy_set_header Authorization "" in the @handle_redirect block.

Fixes #10776

AI-assisted-by: mimo-v2.5-pro
2026-07-22 14:00:35 +02:00
..
2026-07-03 09:49:31 +02:00
2026-06-05 11:44:20 +02:00
2026-06-05 11:44:20 +02:00
2025-12-02 13:27:09 +01:00
2021-11-15 09:54:36 -05:00
2020-02-25 16:24:40 +01:00
2021-03-31 09:28:15 +02:00
2026-05-27 11:35:21 +02:00
2026-06-05 11:44:20 +02:00
2026-06-05 11:44:20 +02:00
2021-03-25 09:05:32 +01:00
2026-06-05 11:44:20 +02:00