On a customer's request I have to create a reverse proxy for following URL on customer's server running Apache on CentOS 6.
URL of the back end is https://18.104.22.168/gateway/order.json
I have added following lines in a virtualhost on Apache:
ProxyPass / https://22.214.171.124/
ProxyPassReverse / https://126.96.36.199/
But when I access http://mydomain/gateway/order.json
I get "Bad Request Your browser sent a request that this server could not understand." . No errors in error_logs of Apache.
I would be thankful if someone can help.