【发布时间】:2015-06-30 02:20:46
【问题描述】:
他,
我正在使用 NGinX 在 nodeJs 上运行 MeteorJS 设置。 当我访问网站时,没有任何问题。
当 Google 尝试访问它时,没有返回任何内容,并且我看到我的 access.log 读取了 Bad Gateway 错误。
我尝试过 spiderable 和 lufrai 的 spiderable 版本,但这也无济于事。 我的 NGinX 有 websocket 活动,所以也不是......
有人能指出我正确的方向吗?
服务器块
server { listen 80; server_name $name; root $rootDir; passenger_enabled on; passenger_sticky_sessions on; }
即使是 PhantomJS 也已安装并且在正确的路径中。
【问题讨论】:
-
请包含任何相关代码:您的 nginx
server至少阻塞(我对 Meteor 一无所知) -
你安装了phantomjs吗?我认为它是可蜘蛛的
-
如上所述,phantomJS 安装在正确的路径目录中,并且我已经包含了我的服务器块。