Welcome! Log In Create A New Profile

Advanced

Country Based vhost include !!

January 10, 2018 04:44AM
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
Subject Author Posted

Country Based vhost include !!

shahzaib1232 January 10, 2018 04:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 146
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready