Finlay we found where the problem was and it was WAF. I've found this when once the problem occurs on my working laptop and noticed that problem occurs only if I'm not connected to company VPN. Otherwise firewall was editing served files.
Thank you @Andrei for your replies.