On Sat, Dec 13, 2014 at 03:53:32PM -0800, neubyr wrote:
> On Sat, Dec 13, 2014 at 12:00 AM, Francis Daly wrote:
> > On Fri, Dec 12, 2014 at 04:00:29PM -0800, neubyr wrote:
Hi there,
> > > location /test {
> > > root /usr/share/nginx/test;
> > > }
> > >
> > >
On Sat, Dec 13, 2014 at 4:25 PM, Valentin V. Bartenev
wrote:
>
> On Saturday 13 December 2014 15:53:32 neubyr wrote:
> [..]
> > Thank you for pointing out debugging log. I think that helped in
> explaining
> > this behavior.
> >
> > It seems like nginx is adding slash as uri name matches with
> co
On Saturday 13 December 2014 15:53:32 neubyr wrote:
[..]
> Thank you for pointing out debugging log. I think that helped in explaining
> this behavior.
>
> It seems like nginx is adding slash as uri name matches with corresponding
> directory and not file name. I thought nginx will return 404 in t
On Sat, Dec 13, 2014 at 12:00 AM, Francis Daly wrote:
>
> On Fri, Dec 12, 2014 at 04:00:29PM -0800, neubyr wrote:
>
> Hi there,
>
> > I was wondering if it's possible to have separate namespaces for '/test'
> > and /test/'.
>
> They are different requests, and different request prefixes, so yes,
>
On Fri, Dec 12, 2014 at 04:00:29PM -0800, neubyr wrote:
Hi there,
> I was wondering if it's possible to have separate namespaces for '/test'
> and /test/'.
They are different requests, and different request prefixes, so yes,
they can be handled in different location{}s.
> location /test {
On Sat, Dec 13, 2014 at 9:00 AM, neubyr wrote:
>
> I was wondering if it's possible to have separate namespaces for '/test' and
> /test/'. For example:
>
>
> location /test {
> root /usr/share/nginx/test;
> }
>
> location /test/ {
>root
I was wondering if it's possible to have separate namespaces for '/test'
and /test/'. For example:
location /test {
root /usr/share/nginx/test;
}
location /test/ {
root /usr/share/nginx/test-slash;
try_files $uri default.txt;