diff --git a/templates/nginx.conf.j2 b/templates/nginx.conf.j2 index d7ff7462d9cbd4ccb80f5b0b061d83be79c450d3..e1e6ac72a2dd97a407194005c946629e36ae14d5 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; }