Javascript’s XHR.upload.onprogress event fires on staging, but not on production. Puzzling

First of all, the code base is identical (I ran sudo git pull on both servers).

I’ve kept my staging and production environments as identical as possible (which is the whole point), but somehow my progress bars are only working in staging, not production.

Tested in multiple browsers, the disparity remains. Both served over https.

Which leads me to suspect some configuration on production is causing the disparity, can’t tell if it’s nginx, gunicorn, supervisord, or something else. It makes no sense to me.

I’m using Python/Django + Ubuntu for my backend if that matters.

Video: https://www.loom.com/share/3db49bb8edd0412ea267ab1687a86273

Anyone has any idea where the bug may be?