'Bad request 400 in Production because of static files

I have a problem with static files in Production after upgrading to Django 1.11. Before everything was working fine and I assume that all the setup is correct except some parts which probably have changed in new version of Django.

To be more specific about the problem. I have static image on my index page. After update my Production server returns "Bad request 400" on index page.

If some configurations are required then I can post it. Any ideas how to solve it are welcome!

ALLOWED_HOSTS = ['www.mysite.ru', 'mysite.ru']


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source