Block requests based on country
We would like to rewrite based on the country of the user.
We support this through nginx and php: https://support.hypernode.com/knowledgebase/block-your-site-for-specific-countries/
and
https://support.hypernode.com/knowledgebase/using-geoip-data-hypernode/
-
Willem de Groot commented
And here's a more generic approach to block multiple countries: http://support.hypernode.com/knowledgebase/block-your-site-for-specific-countries/
-
Willem de Groot commented
Hi Toon! You can do this already, see http://support.hypernode.com/knowledgebase/rewriting-and-redirecting-urls-in-nginx/
Does this solve your case? Otherwise, please send a message to support@byte.nl and we'll help you out (and update our knowledgdebase).