If you are using a reverse proxy with nginx and attempt to upload an image over certain images the nginx server refuses the file with its own message rather than the expected nodebb response.
Screenshot from this forum:
Image used to create this error:
Discover the magic of the internet at Imgur, a community powered entertainment destination. Lift your spirits with funny jokes, trending memes, entertaining gifs, inspiring stories, viral videos, and so much more from users.
In 'nginx's server' context of enabled site config
Hope that helps this forum and others using reverse proxy
If you're in the mood for helping me, then I've raised this bug report for a separate issue: