EagleYing's Blog

copyright@blog.yingeagle.com

Nginx(子)于域名设置HTTPS

服务器端口配置 如果是子域名,需要在服务器的出方向和入方向都开放对应的端口,主域名入方向 80 端口就可以。 安装Certbot 安装过程参照Certb

Python Bottle 配置 HTTPS

python的bottle只提供了http的协议,对于需要htpps的情况,需要通过cherrypy等进行转换,转换代码: # copied from bottle. Only changes are to import