From 44b9a283cc94ab85d8d1185ba3f5c1c20bf0d069 Mon Sep 17 00:00:00 2001 From: Agate <me@agate.blue> Date: Thu, 23 Apr 2020 10:54:21 +0200 Subject: [PATCH] Added missing minio-related conf --- templates/nginx.conf.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index d7ff746..e1e6ac7 100644 --- a/templates/nginx.conf.j2 +++ b/templates/nginx.conf.j2 @@ -109,6 +109,8 @@ server { # Comment the previous location and uncomment this one if you're storing # media files in a S3 bucket location ~ /_protected/media/(.+) { + # Needed to ensure DSub auth isn't forwarded to S3/Minio, see #932 + proxy_set_header Authorization ""; internal; proxy_pass $1; } -- GitLab