allow access on a sublocation
Francis Daly
francis at daoine.org
Tue Aug 6 21:30:35 UTC 2013
On Tue, Aug 06, 2013 at 04:07:48PM +0200, Greg wrote:
Hi there,
> this configuration does not work as expected :
In what way does it fail for you?
When I "allow 127.0.0.3/32", I am challenged http 401 for "curl -i
http://127.0.0.1/normal/ok", but get the file content from both "curl
-i http://127.0.0.1/allowed/ok" and "curl -i http://127.0.0.3/normal/ok"
> I short, I want to disallow access on my website, only some IPs can
> access, except for /allowed/ which is open.
>
> What's wrong ?
It seems to work for me.
nginx -v?
nginx -V?
output of specific curl commands I can use to replicate the problem?
Thanks,
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list