python flask和heroku webapp错误

2024-10-01 02:24:46 发布

您现在位置:Python中文网/ 问答频道 /正文

我在python flask和heroku(免费计划)web应用程序中添加了另外两个页面:http://www.getrandomnumbers.com/,但是当我试图访问我的新页面(无论我使用什么web浏览器)时,都会遇到ERR_SSL_PROTOCOL_错误。在


Tags: comweb应用程序httpsslflaskherokuwww
1条回答
网友
1楼 · 发布于 2024-10-01 02:24:46

Heroku的自动证书管理SSL服务是only included with paid dynos

Heroku SSL is included for free on any app that uses paid dynos: Hobby, Standard-1X, Standard-2X, Performance-M and Performance-L. This service uses Server Name Indication (SNI), an extension of the TLS protocol, which allows for Heroku to terminate SSL on its router.

否则,您需要使用自己的证书手动设置SSL。最简单(也可能是最便宜的)选择是将你的dyno升级到每月7美元的爱好层。在

相关问题 更多 >