location and file extension regex
fam6837 at gmail.com
Sat Dec 3 15:30:15 UTC 2016
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 at 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.
> Francis Daly francis at daoine.org
> nginx mailing list
> nginx at nginx.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nginx