Redirection non-www to www problem

You don't have a redirect for eter7.com from http to https in the above server block. You just have a redirect for www and a different domain name entirely.

You probably tried many combinations of certbot and ended up with poor results

As for redirecting eter7.com to the www domain that is normal redirect logic you can learn about in the nginx docs or probably many google sources

3 Likes