I read the question How to set up a redirect with www on without www + HTTPS with Nginx?
Like all correctly made, only it was global config rules, and I'm local to the specific user and domain. Running the file home/user/conf/web/snginx.conf
Have done so:
Redirect http (www and www) work
Direct request https (without www) works
And only option
not working and says Your connection is not secure. The owner of www.domain.ru has their website configured improperly.
Probably a test certificate for that domain occurs BEFORE the redirect, hence the error and redirect to the case comes, but how to do can not understand.