Looks fine. For Nginx to pick up and respond to the requested host/domain you need to have it in the server_name setting. You can direct multiple to the same root directory.
May 8, 2015
2
Level 2
Subdomain for multiple tenants, single code base
I just started using forge about a week ago, and I am trying to understand how the subdomains should be setup. If all the sites are using the same code base should I still create a subdomain for each tenant? Right now I have an A record from my hosting site that points to the public folder on the forge server. tenant1.main.com ----> /public on forge tenant2.main.com ---> /public on forge Not sure if this is the correct setup.
Please or to participate in this conversation.