add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,28 +1,28 @@
# gunicorn
> Python WSGI HTTP 服务器。
> 更多信息<https://gunicorn.org/>.
> Python WSGI HTTP 服务器。
> 更多信息: <https://gunicorn.org/>.
- 运行 Python web 应用程序
- 运行 Python 网络应用
`gunicorn {{导入路径:应用程序}}`
`gunicorn {{import.path:app_object}}`
- localhost 上监听 8080 端口:
-本地主机的 8080 端口上监听
`gunicorn --bind {{localhost}}:{{8080}} {{导入路径:应用程序}}`
`gunicorn --bind {{localhost}}:{{8080}} {{import.path:app_object}}`
- 启用实时自动加载:
- 开启实时重载:
`gunicorn --reload {{导入路径:应用程序}}`
`gunicorn --reload {{import.path:app_object}}`
- 使用 4 个工作进程处理请求:
`gunicorn --workers {{4}} {{导入路径:应用程序}}`
`gunicorn --workers {{4}} {{import.path:app_object}}`
- 使用 4 个工作线程处理请求:
`gunicorn --threads {{4}} {{导入路径:应用程序}}`
`gunicorn --threads {{4}} {{import.path:app_object}}`
- 通过 HTTPS 运行应用程序
- 通过 HTTPS 运行应用:
`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{导入路径:应用程序}}`
`gunicorn --certfile {{cert.pem}} --keyfile {{key.pem}} {{import.path:app_object}}`