web
qq_37587216
这个作者很懒,什么都没留下…
展开
-
gunicorn与python web部署
常用架构,nginx负责动态的转发和静态文件的直接访问,gunicorn作为网关服务用来解析http请求,python web框架 django 或flask只是个application相比于uWSGI,gunicorn 具有使用非常简单,轻量级的资源消耗,以及高性能等特点。gunicorn 启动方式gunicorn-w2-bunix:sockapp:app-kge...原创 2019-08-22 14:21:54 · 279 阅读 · 0 评论 -
使用certbot为网站服务添加https免费安全认证
certbot的网站主页https://certbot.eff.org/lets-encrypt/centosrhel7-nginx以下主要记录在操作时候的一些注意事项一、准备工作 1、首先要有域名,配置好nginx ,必须使用80端口,供certbot访问认证 2、在认证的过程中会出现一个 requests认证的bug,推荐 pip2.7 instal...原创 2019-08-26 19:21:26 · 937 阅读 · 1 评论