301 리다이렉트 설정 방법: non-www에서 www로

You might use forcewww.com or see Setting up Let’s Encrypt with Multiple Domains. I don’t recommend adding an external nginx to solve this problem.