I've been using ProxyDroid to route all the traffic coming from a specific application, with my android rooted, to my server.
Even though there is nothing wrong with my configuration my server doesn't receive any request and this is the message I get:
502 Bad Gateway
which basically means that the server didn't get the request because the request I am sending is not right or isn't complete.
The reason for that is that proxyDroid forwards requests without maintaining host headers.
I am unable to configure my proxy to maintain the host headers so is there another root proxy app I can use on my android device to route all the traffic to the server without losing the headers?
I would appreciate your help!