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

Location block question

$
0
0
I am trying to limit one location to specific IP addresses.

If I set the location as /locationname it blocks all IP's but if I use ^~ /locationname/ it works correctly and I'm trying to work out why.

If I understand the documentation then /locationname should match a folder directly in the root folder of the vhost?

Thanks

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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