meteor捆绑应用程序重定向到ssl

meteor捆绑应用程序重定向到ssl,meteor,Meteor,我的meteor项目与一个脚本捆绑在一起,并与forever一起运行。到目前为止,这个过程一直运作良好,但对于我的上一个项目来说,它不起作用 我设置了一个干净的服务器,没有运行httpd进程,以确保没有干扰 没有错误,但当我在http://dev.sertal.ch:4020我被重定向到https://dev.sertal.ch 这是捆绑包脚本: #!/bin/bash cd /root/projects/tablet-reporting/app git pull rm -R

我的meteor项目与一个脚本捆绑在一起,并与forever一起运行。到目前为止,这个过程一直运作良好,但对于我的上一个项目来说,它不起作用

我设置了一个干净的服务器,没有运行httpd进程,以确保没有干扰

没有错误,但当我在
http://dev.sertal.ch:4020
我被重定向到
https://dev.sertal.ch

这是捆绑包脚本:

  #!/bin/bash

  cd /root/projects/tablet-reporting/app
  git pull

  rm -Rf /opt/sertal/tablet-reporting-test
  rm -f /opt/sertal/tablet-reporting-test.tgz

  meteor bundle /opt/sertal/tablet-reporting-test.tgz
  cd /opt/sertal
  tar -xvzf tablet-reporting-test.tgz
  mv bundle tablet-reporting-test

  cd /opt/sertal/tablet-reporting-test/programs/server/node_modules
  rm -Rf fibers
  npm install fibers
以下是应用程序的启动方式:

MONGO_URL="mongodb://localhost:27017/tablet-reporting-test" PORT=4020 ROOT_URL="http://dev.sertal.ch:4020" node tablet-reporting-test/main.js
上面说

LISTENING

您可能已经安装了
force ssl
软件包

meteor remove force-ssl
然后重新部署。请让我知道如果它不起作用,它可能是一些代理的东西