How can I redirect non-www to www after create site

I had updated the wordpress setting and /opt/easeyengine/services/nginx-proxy/conf.d/
Changed the 301 redirect to www site

But it will have redirect loop error

Is there anything I missed?



Maybe you have a redirect that points to the non-www version of the site and by that you get the redirect loop.

Do you have any other redirects or cache that might be causing the issue?

create your site with www added in the domain, and the redirect will automatically added to redirect.conf file.
for example

ee site create