Country Based vhost include !!

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


Hi,

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 ?

Thanks.
Shahzaib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20180110/0eb79fdb/attachment.html>


More information about the nginx mailing list