Moving Discourse to subdirectory caused all uploads to break

I don’t know why new uploads would have been failing…

To fix existing uploads you need to run the remap tool. Something like this:

bundle exec script/discourse remap '/uploads' '/forum/uploads'