I want to configure a Reverse Proxy Server. It displays my first page of the application, but without images. When I try to see why the images aren't load I receive this error:

Bad Gateway!

The proxy server received an invalid response from an upstream server.

The proxy server could not handle the request GET ConsoleTitle2l.gif.

Reason: Max-Forwards has reached zero - proxy loop?
Also when I try to login to my application I can't, the same error.

How to fix this problem?