uWSGI xml/ini 配置选项
uWSGI的xml/ini配置中是否有所有已处理标签的描述? 文档说所有命令行选项都可以放在 xml/ini 中,但还有更多,特别是以下配置已正确处理:
<uwsgi>
<home>/var/www/example.com/</home>
<pythonpath>/var/www/example.com/app</pythonpath>
<app mountpoint="/">
<script>example</script>
</app>
</uwsgi>
在此代码段中有 app
标记,其中包含嵌套的脚本
标签。但它们都不是 uwsgi 的命令行参数。
有此类标签的完整列表吗?这些选项适用于 ini 配置吗?
Is there any description for all the processed tags in the xml/ini config for uWSGI?
The docs say that all the command line options may go in xml/ini, but there is more, in particular the following config is processed properly:
<uwsgi>
<home>/var/www/example.com/</home>
<pythonpath>/var/www/example.com/app</pythonpath>
<app mountpoint="/">
<script>example</script>
</app>
</uwsgi>
In this snippet there is the app
tag, that contains the nested script
tag. But none of them is a command line parameter for uwsgi.
Is there a complete list for this kind of tags? Are these options applicable to the ini configs?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
所有类似命令的选项都可用于 xml/ini/yaml 文件和 ldap。
是唯一的例外:它仅在 xml 中可用uwsgi --help
获取完整列表
All the command like options are available to xml/ini/yaml file and ldap.
<app>
Is the only exception: it is available only in xmluwsgi --help
for the full list
我也希望看到 XML 选项的完整描述性列表。
我想你和我一样已经搜索了整个网络,也没有任何一致的结果。
我想最好的方法就是通过相关的源代码进行安抚,并尝试从中做出一些东西。
I too would like to see a full descriptive list of XML options.
I guess you've pretty much just as me has searched through the entire net without any consistent results either.
The best approach I guess is to just sooth through the related source code and try to make something out of it I'm afraid.