Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Specifying geoip country block list in location context

$
0
0
Hi,

Can I specify countries to be blocked in location context?

For example, I want one of my location definitions accessible from denmark but want to restrict other locations to Denmark & China or I want to grant access to a different country for each locations.

As far as I know, I can only set countries in http context and it inherits to all locations with ngx_http_geoip_module.

Best regards,

David

Viewing all articles
Browse latest Browse all 4759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>