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://220.127.116.11/gateway/order.json
I have added following lines in a virtualhost on Apache:
ProxyPass / https://18.104.22.168/
ProxyPassReverse / https://22.214.171.124/
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.