twilio 应用程序在部署到 Linux 服务器后显示 404 错误

问题描述

我们在 Twilio SandBox 中开发了一个测试应用程序,它在 Heroku 服务器中运行良好。但是当我们尝试将其放入 Linux (centos 8.1.1911) 服务器时,出现 404 错误

Linux 服务器中的 conf 文件

 location /myapp/ {      
       proxy_pass http://13.71.23.139:3020/;
       proxy_ssl_server_name on;
       proxy_http_version 1.1;
       proxy_set_header Upgrade $http_upgrade;
       proxy_set_header Connection 'upgrade';
       proxy_set_header Host $host;
       proxy_cache_bypass $http_upgrade;

错误: *212 connect() 连接到上游时失败(111:连接被拒绝)

有什么建议吗?

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)