Fix broken media download

The static map used with uwsgi was referencing the wrong media directory, such that downloads of media files did not work correctly.
This commit is contained in:
Daniel Herrmann 2023-03-17 16:53:00 +01:00 committed by Régis Behmo
parent cf9bae63da
commit 04de8bcf67

View File

@ -22,7 +22,7 @@ RUN mkdir /openedx/data /openedx/data/media
EXPOSE 8000
CMD uwsgi \
--static-map /media=/openedx/media/ \
--static-map /media=/openedx/data/media/ \
--http 0.0.0.0:8000 \
--thunder-lock \
--single-interpreter \