Re: How to stop nginx from adding a trailing slash

2018-03-09 Thread Igor Sysoev
> On 9 Mar 2018, at 19:17, Gregory Edigarov wrote: > > On 09.03.18 16:52, Igor Sysoev wrote: >>> On 9 Mar 2018, at 17:06, Gregory Edigarov wrote: >>> >>> Hello, >>> >>> somesite.com/blog is 301 redirected to somesite.com/blog/ by nginx. >>> >>> this is not the behaviour i want. >>> >>> is th

Re: How to stop nginx from adding a trailing slash

2018-03-09 Thread Gregory Edigarov
On 09.03.18 16:52, Igor Sysoev wrote: On 9 Mar 2018, at 17:06, Gregory Edigarov wrote: Hello, somesite.com/blog is 301 redirected to somesite.com/blog/ by nginx. this is not the behaviour i want. is there any way to stop it from doing so? A special location for "/blog": location = /blog

Re: How to stop nginx from adding a trailing slash

2018-03-09 Thread Igor Sysoev
> On 9 Mar 2018, at 17:06, Gregory Edigarov wrote: > > Hello, > > somesite.com/blog is 301 redirected to somesite.com/blog/ by nginx. > > this is not the behaviour i want. > > is there any way to stop it from doing so? A special location for "/blog": location = /blog { ... } location /b

How to stop nginx from adding a trailing slash

2018-03-09 Thread Gregory Edigarov
Hello, somesite.com/blog is 301 redirected to somesite.com/blog/ by nginx. this is not the behaviour i want. is there any way to stop it from doing so? Thank you. ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/ngin