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

@@ -0,0 +1,28 @@
# waitress-serve
> 纯 Python WSGI HTTP 服务器。
> 更多信息:<https://docs.pylonsproject.org/projects/waitress/en/latest/runner.html>。
- 运行一个 Python 网络应用:
`waitress-serve {{import.path:wsgi_func}}`
- 在本地主机的 8080 端口上监听:
`waitress-serve --listen={{localhost}}:{{8080}} {{import.path:wsgi_func}}`
- 在 Unix 套接字上启动 waitress
`waitress-serve --unix-socket={{path/to/socket}} {{import.path:wsgi_func}}`
- 使用 4 个线程处理请求:
`waitress-serve --threads={{4}} {{import.path:wsgifunc}}`
- 调用返回 WSGI 对象的工厂方法:
`waitress-serve --call {{import.path.wsgi_factory}}`
- 使用 HTTPS URL 方案:
`waitress-serve --url-scheme={{https}} {{import.path:wsgi_func}}`