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/ ->
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