RESOLVED: Unable to load "text!config"

Hello I am getting an unsual error from Kibana.

Error: Unable to load "text!config" modules because of an unknown error.
Error: ./config?_b=6004 HTTP status: 404

Error: Uncaught Error: Unable to load "text!config" modules because of an unknown error.
at window.onerror

I am running kibana-4.0.2-linux-x64 on Linux 2.6.32-504.8.1.el6.x86_64 x86_64.

I have used the same code on a different machine and it was working fine but know I am running behind a reverse_proxy.

Anyone encountered such errors?

Issue is "solved". I have found a work around.

I had to remove the application name in the URL created by the Reverse proxy.
http://domain/kibana/ changed to http://domain.

Somehow Kibana did not like the vitual folder kibana(or any other name)

Very annoying since I cannot add any other application context for this reverse proxy.
If there is a patch for Kibana, I would very much appreciated.