ProxyPass issue
I was trying to ProxyPass the app to another server
But ran into a strange problem.
ProxyPass worked when I called http://10.0.11.95 but failed when any uri was added to root(10.0.11.95)
Like http://10.0.11.95/login gave
Proxy Error
The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /login.
Reason: DNS lookup failure for: 127.0.0.1:9051login
Where we find the problem is:
Code for ProxyPass:
ProxyPass / http://10.0.11.95
ProxyPassReverse / http://10.0.11.95
Solution, I needed another slash at the final, so, it should be:
Code:
ProxyPass / http://10.0.11.95/
ProxyPassReverse / http://10.0.11.95/
Now it works \m/ .
Comments
Post a Comment