Solved the problem by removing the nginx configuration on the server where mattermost is installed.
But there was another problem:
- mattermost app for OS Adnroid and iOS cannot connect to server Mattermost.
There are no problems in Windows OS and app for windows.
Are there any ideas?