Welcome! Log In Create A New Profile

Advanced

Re: location and file extension regex

Musta Fa
December 03, 2016 10:32AM
oh this is insane
now i open chrome incognito window and it works!!

how is that even possible?
how can browser still downloading this file? while new incognito session
obeys nginx rules??

On Sat, Dec 3, 2016 at 2:54 PM, Francis Daly <francis@daoine.org> wrote:

> On Sat, Dec 03, 2016 at 02:27:50PM +0000, Musta Fa wrote:
>
> Hi there,
>
> > while i request files
> > http://domain.com/config.xml
> > or
> > http://domain.com/include/config.xml
> > both files downloaded, which is not good,
>
> When I do it:
>
> $ curl http://127.0.0.1:8888/config.xml
> Did match: /config.xml
> $ curl http://127.0.0.1:8888/include/config.xml
> Did not match: /include/config.xml
>
> The first matches (and so is blocked), and the second does not match
> (and so it allowed). I think that that is what you want?
>
> Either you are not using the configuration you think you are using;
> or you have other configuration that you are not showing.
>
> f
> --
> Francis Daly francis@daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

location and file extension regex

Musta Fa December 03, 2016 07:22AM

Re: location and file extension regex

Francis Daly December 03, 2016 09:08AM

Re: location and file extension regex

Musta Fa December 03, 2016 09:30AM

Re: location and file extension regex

Francis Daly December 03, 2016 09:56AM

Re: location and file extension regex

Musta Fa December 03, 2016 10:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 318
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