Support accessing the locations without trailing slashes
Don't use server listen port in redirects (since it will only make sense to users in case the listen port of nginx happened to be port 80)