Welcome! Log In Create A New Profile

Advanced

Country Based vhost include !!

Posted by shahzaib mushtaq 
shahzaib mushtaq
Country Based vhost include !!
January 10, 2018 10:50AM
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
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Sorry, only registered users may post in this forum.

Click here to login