Nginx

Multi-Tenancy in Nginx

Here’s the configuration from the screenshot: server { server_name *.myapp.io; } server { server_name ~^(?<account>.+)\.myapp\.io$; location ~ \.php$ { include…