> On 9 Mar 2018, at 17:06, Gregory Edigarov <edigarov@qarea.com> 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 /blog/ {
...
}
--
Igor Sysoev
http://nginx.com
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx