Redirect to www


Hi Everyone
Need some help with redirects.
I want to redirect: to

Although all other traffic like /api & /admin should not redirect to www site.

We have our sites on two different servers, hence the problem

Thanks for you help in advance.


http-request redirect prefix “//” code 301 if { hdr_dom(host) -i }