So I'm working on setting up either HAProxy (1.5) and Nginx (1.100.1, rpm) as a simple proxy process and send an incoming request to another host, based on the contents of the incoming request:
Example:
Where urlbase64 decodes to: https://proxied.endpoint.com/callbacks and is the URL I need to proxy to.
Trying to avoid doing any sort of application behind nginx/haproxy.. but starting to look like I might have to.
Example:
Code:
https://sample.proxy.com?code=12345657&urlbase64=aHR0cHM6Ly9wcm94aWVkLmVuZHBvaW50LmNvbS9jYWxsYmFja3M=
Trying to avoid doing any sort of application behind nginx/haproxy.. but starting to look like I might have to.