Redirecting WWW to NON-WWW is very important for SEO and I miss it a lot as a default option in HestiaCP.
I know it can be done implementing this, but since I already redirected HTTP to HTTPS from that check option when I added my website, now I don’t know what the exact file I need to go, and what block I should edit, should it be better to add a new block instead for better performance or edit the existed block. There are many of them in these files which made me confused!
/etc/nginx/conf.d/myIP.conf
mysite.com.conf
mysite.com.ssl.conf
/etc/nginx/nginx.conf
Hope someone can tell me how to do it.