Welcome! Log In Create A New Profile

Advanced

Re: allow access on a sublocation

Francis Daly
August 06, 2013 05:32PM
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@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

allow access on a sublocation

Greg August 06, 2013 10:10AM

Re: allow access on a sublocation

Jonathan Matthews August 06, 2013 10:24AM

Re: allow access on a sublocation

Greg August 06, 2013 10:36AM

Re: allow access on a sublocation

Jonathan Matthews August 06, 2013 10:50AM

Re: allow access on a sublocation

Reinis Rozitis August 06, 2013 10:52AM

Re: allow access on a sublocation

Greg August 06, 2013 11:02AM

Re: allow access on a sublocation

Reinis Rozitis August 06, 2013 11:24AM

Re: allow access on a sublocation

Francis Daly August 06, 2013 05:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 219
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready