为什么页面空白?

时间:2018-03-12 13:44:24

标签: javascript tomcat reverse-proxy centos7 mod-proxy

我已经在Windows服务器2012R2上运行Tomcat,并且我已使用以下URL配置了应用程序 http://localhost:8080/app 我希望将此应用程序放在网上,以便设置SSL反向代理

我使用Apache HTTPS Server作为反向代理使用mod_proxy扩展。

ProxyPreserveHost On
ProxyPass /app http://192.168.40.20:8080/app
ProxyPassReverse /app http://192.168.40.20:8080/app

我需要配置Apache以将请求传输到tomcat,如下所示:

https://192.168.40.20/app/>> http://192.168.40.29:8080/app/

但是当我尝试访问该页面时,我得到一个空白页面没有显示

当我检查页面元素时:

Loading failed for the <script> with source “https://192.168.6.136/lib/ueditorsrc/ueditor.config.js”.
insurance:16
Loading failed for the <script> with source “https://192.168.6.136/lib/ueditorsrc/ueditor.all.js”.
insurance:17
Loading failed for the <script> with source “https://192.168.6.136/lib/ionic/js/ionic.bundle.min.js”.
insurance:20
Loading failed for the <script> with source “https://192.168.6.136/lib/ueditorsrc/angular-ueditor.js”.
insurance:21
Loading failed for the <script> with source “https://192.168.6.136/js/app.js”.

页面的屏幕截图 page

1 个答案:

答案 0 :(得分:0)

在ap /

前面找到了与正斜杠有关的解决方案