Country Based vhost include !!

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Country Based vhost include !!

shahzaib mushtaq
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

_______________________________________________
nginx mailing list
[hidden email]
http://mailman.nginx.org/mailman/listinfo/nginx