Re: location redirect always with trailing slash... sometimes

2019-03-08 Thread Hans Schou
I found a solution (after reading the manual) http://nginx.org/en/docs/http/ngx_http_rewrite_module.html On Thu, 7 Mar 2019 at 14:57, Hans Schou wrote: > Example of required redirect: > http://ex.org/foo -> https://ex2.org/foo/# Nx solves the bug here > http://ex.org/foo/ ->

location redirect always with trailing slash... sometimes

2019-03-07 Thread Hans Schou
Hi I have this buggy backend application where I try to let Nginx sort out the problems. Example of required redirect: http://ex.org/foo -> https://ex2.org/foo/# Nx solves the bug here http://ex.org/foo/ -> https://ex2.org/foo/ http://ex.org/foo/?id=7 -> https://ex2.org/?id=7 Here is my curr