ScottyTLS不响应https请求

问题描述

我正在使用web server that processes Latex Files into PDF files的ScottyTLS(Haskell)。我已经在本地测试了Scotty的nonTLS版本(可以工作),现在正尝试在Digital Ocean上部署TLS版本。必须使用TLS版本,因为没有它,服务器应用程序将无法处理https使用的端口443消息。可悲的是,我无法正常工作。它配置为使用通过运行letsencrypt bot安装的证书和密钥。不知道从这里去哪里。在客户端,我只是看到请求失败。在服务器端,我什么也没看到。

这里还有两个数据点:

 $ curl https://shooBox.io/hello
curl: (7) Failed to connect to shooBox.io port 443: Connection refused
Server console: nothing

 $ curl http://shooBox.io/hello
This server only accepts secure HTTPS connections.%
Server console: InsecureConnectionDenied

解决方法

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

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

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