我如何调试dokku代理

时间:2019-10-18 10:56:33

标签: http-proxy dokku

在尝试运行letencrypt时,我一定已经损坏了某些东西, 现在无法再访问我的应用了。这是配置:

代理配置显示端口80已映射到5000

dokku@projects:~$ dokku proxy:ports sendit_staging
-----> Port mappings for sendit_staging
-----> scheme             host port                 container port
http                      80                        5000
dokku@projects:~$ clear

域设置为“ sendit”

dokku@projects:~$ dokku domains:report sendit_staging
=====> sendit_staging domains information
       Domains app enabled:           true
       Domains app vhosts:            sendit
       Domains global enabled:        true
       Domains global vhosts:         projects.MYDOMAIN

当我进入应用程序时,我可以访问localhost:5000

dokku@projects:~$ dokku enter sendit_staging
herokuishuser@9753a9620364:~$ curl -I http://localhost:5000
HTTP/1.1 200 OK

但是当我尝试从外面拿到它时,我会失败:

dokku@projects:~$ curl -I http://sendit.projects.MYDOMAIN/
curl: (56) Recv failure: Connection reset by peer

还有什么可以打破的?

我有办法查看代理日志文件吗?

0 个答案:

没有答案