i’m not sure but maybe the reverse proxy has some insufficient configuration which prevents it serving the “correct” Content-Type for JavaScript files “application/javascript” and enforcing “text/html” instead.
I think maybe the manual of the reverse proxy has some notes how to configure such cases? Otherwise the support community of that reverse proxy could be also contacted?
Yes. I believe this is more on reverse proxy configuration. It has to be some more configuration to be done for the javascript to be able to excute properly. I think this is the only problem for this type of setup where we are not using subdomain name but we opt for the sub path /ocis/