Proxying site via nginx results in blank page

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-04 19:37:27

Turns out this is specific to how Wix renders the site. They embed the URL of the site in their index.html and the site won't render if it is loaded from another URL. I don't think they are blocking this on purpose. To me it just looks like a side effect of how the rendering code was implemented.

We fixed this by using an nginx subfilter to change the URL embedded in index.html to the one we are proxying from. Now it works fine.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!