ln -s /tmp/edx-s3/grades /edx/var/edxapp/media
- Locate following block in the file
location ~ ^/media/(?P<file>.*) { root /edx/var/edxapp/media; try_files /$file =404; expires 31536000s; }
- Replace it with this one
location ~ ^/media/(?P<file>.*) { root /edx/var/edxapp/media; try_files /$file /grades/$file; expires 31536000s; } location ~ ^/grades/(?P<file>.*) { root /edx/var/edxapp/media/grades; try_files /$file =404; expires 31536000s; }
sudo service nginx restart
https://dwisulfahnur.medium.com/open-edx-student-grades-download-issue-404-not-found-3d7995980389