Skip to content

Commit b415283

Browse files
authored
Update nginx+flask+gunicorn部署.md
1 parent 0debac4 commit b415283

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

studynotes/nginx+flask+gunicorn部署.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,3 +66,11 @@
6666
* 第一个app是flask服务脚本的名字,我这里是app.py,所以用app,第二个app是app.py中Flask()实例对象的名字,我给取的是app,所以这里是app:app.
6767
## 五、部署成功
6868
![](https://github.com/daacheng/PythonBasic/blob/master/pic/nginxproxy5.png)
69+
70+
## 六、nginx配置https
71+
### 6.1 申请证书和秘钥
72+
### 6.2 重新编译nginx https://www.cnblogs.com/ghjbk/p/6744131.html
73+
### 6.3 修改配置文件
74+
![](https://github.com/daacheng/PythonBasic/blob/master/pic/nginxhttps.jpg)
75+
### 6.4 注意开启443端口
76+

0 commit comments

Comments
 (0)