Skip to content
Snippets Groups Projects
Commit 21eaaf1f authored by JuniorJPDJ's avatar JuniorJPDJ
Browse files

fix(front/Docker): fixup of issue introduced in !1897

parent 6046ce36
No related branches found
No related tags found
No related merge requests found
Fix media directory nginx routing error in front docker container introduced in !1897
...@@ -75,9 +75,9 @@ server { ...@@ -75,9 +75,9 @@ server {
# has been checked on API side. # has been checked on API side.
# Comment the "NON-S3" commented lines and uncomment "S3" commented lines # Comment the "NON-S3" commented lines and uncomment "S3" commented lines
# if you're storing media files in a S3 bucket. # if you're storing media files in a S3 bucket.
location /_protected/media/(.+) { location ~ /_protected/media/(.+) {
internal; internal;
alias ${MEDIA_ROOT}/; # NON-S3 alias ${MEDIA_ROOT}/$1; # NON-S3
# Needed to ensure DSub auth isn't forwarded to S3/Minio, see #932. # Needed to ensure DSub auth isn't forwarded to S3/Minio, see #932.
# proxy_set_header Authorization ""; # S3 # proxy_set_header Authorization ""; # S3
# proxy_pass $1; # S3 # proxy_pass $1; # S3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment