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