Country Based vhost include !!

shahzaib mushtaq shahzaib.cb at
Wed Jan 10 09:41:27 UTC 2018


We want to include virtual hosts based on the country such as, if country
is "mycountry" include virtual.conf otherwise include default.conf.
However, we tried to achieve that using 'if' but it doesn't support
'include' directive.

Is there any other way of achieving this goal ?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list