Multiple Commerce Websites Route to default only?


#1

Hi there,
I have created two commerce web sites and set their respective domains in there configuration settings. I have nginx proxying the requests. The problem is I only get the default site. I have seen videos showing “–db-filter mydb -i website” on the cli. I have checked my flectra.conf file and it has the db-filter set correctly. I am not sure how to add the “-i website” to the config file but the web site module has been installed via the web backend.

What do I need to do to get the correct web site to display based on its domain name?

thanks


#2

I added the proxy_set_header HOST $host to the nginx virtual host config and all works now.