Skip to content

Commit

Permalink
fix the static and media paths served from uwsgi
Browse files Browse the repository at this point in the history
  • Loading branch information
lpm0073 committed Sep 15, 2022
1 parent f308539 commit cf20e08
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,8 @@ EXPOSE 8000
FROM production as final

CMD uwsgi \
--static-map /static=/openedx/credentials/assets \
--static-map /media=/openedx/credentials/course_credentials/media \
--static-map /static=/openedx/credentials/credentials/assets \
--static-map /media=/openedx/credentials/credentials/media \
--http 0.0.0.0:8000 \
--thunder-lock \
--single-interpreter \
Expand Down

0 comments on commit cf20e08

Please sign in to comment.