Aw: Re: Encoding URL before passing it on to reverse proxied application

2018-10-19 Thread Garbage
> > Is one of these approaches possible ? > > You can easily do something like this: > >rewrite ^ /foo? break; >proxy_pass http://localhost:8080; >proxy_set_header X-Original-URI $request_uri; > > This will replace the URI as seen by the upstream server to > "/foo" without any reque

Encoding URL before passing it on to reverse proxied application

2018-10-18 Thread Garbage
We are in the process of replacing a rather old web application. The old application used links that look like this: https://nameofapp/do?param1=A&id={ABC-DEF-GHI}¶m2=B I know that as far as RFC is concerned { and } are not valid characters but unfortunately the application was built that way a