arch, bzip2, command, gunicorn, history, htop, shasum, stty, yes: move translation to correct directories (#5362)

This commit is contained in:
marchersimon
2021-03-07 21:50:02 +01:00
committed by GitHub
parent 6443e6a725
commit 9ffbe151a6
10 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,27 @@
# gunicorn
> Python 的 WSGI http 服务器.
- 运行 python web 应用程序:
`gunicorn {{导入路径:应用程序}}`
- 在 localhost 上监听 8080 端口:
`gunicorn --bind {{localhost}}:{{8080}} {{导入路径:应用程序}}`
- 启用实时自动加载:
`gunicorn --reload {{导入路径:应用程序}}`
- 使用 4 个工作进程处理请求:
`gunicorn --workers {{4}} {{导入路径:应用程序}}`
- 使用 4 个工作线程处理请求:
`gunicorn --threads {{4}} {{导入路径:应用程序}}`
- 通过 https 运行应用程序:
`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{导入路径:应用程序}}`