You are mixing two different methodologies here, Whitenoise and nginx.
If you’re using nginx to serve your static files, you should not be using Whitenoise. If you’re using Whitenoise, then nginx is potentially confusing the issue.
You should decide what you’re going to use, and then configure your environment appropriately.