On Fri, Feb 19, 2016 at 02:22:35AM -0500, spyfox wrote:
Hi there,
> server {
> listen *:80;
> server_name ~^i(?\d+)\.domain$;
> ...
Presumably later in this config, you do something with $instanceId,
and you have a way to handle it not being set.
> It works fine. I have sing
Hi everybody,
I manage server, where each user has own subdomain:
i1.domain -> user #1
i2.domain -> user #2
etc
I have a nginx config to handle user's subdomains:
server {
listen *:80;
server_name ~^i(?\d+)\.domain$;
...
}
It works fine. I have single config to handle all