node.js - apache 代理 angular 应用页面显示空白该怎么解决
ringa_lee
ringa_lee 2017-04-17 11:58:41
0
0
592

通过 apache 代理一个 express+angualr 应用,但是访问的时候出现问题:

  • 通过端口直接访问,如 http://www.aaa.com:8080 直接访问页面的时候一切正常

  • 在 apache 设置代理后访问, 如 http://www.aaa.com/test, 则页面空白,但是通过 f12 发现 js 文件都加载正常.

apache 的代理设置比较简单:

ProxyPass /test http://127.0.0.1:8080
ProxyPassReverse /test http://127.0.0.1:800

请问出现页面空白是因为我的 apache 配置出错吗? 或者可能的原因有那些?

ringa_lee
ringa_lee

ringa_lee

membalas semua(0)
Muat turun terkini
Lagi>
kesan web
Kod sumber laman web
Bahan laman web
Templat hujung hadapan