我使用命令uWsgi服务器测试应用程序,如何uwsgi写ini文件相当于一个uwsgi命令
uwsgi --http :9090 --wsgi-file myapp.py --callable app --processes 4 --threads 2 --stats 127.0.0.1:9191
这开始于9090端口的应用程序。我想为此写一个.ini
文件。但我坚持与--http :9090
部分。它将如何写入ini
文件中?到目前为止,我uwsgi.ini
文件看起来像这样,
[uwsgi]
wsgi-file = myapp.py
callable = app
processes = 4
threads = 2
stats = 127.0.0.1:9191
发现[这里](溶液http://uwsgi-docs.readthedocs.org/en/latest/WSGIquickstart.html#deploying-的web2py)。它将被写为'http =:9090'。不要在发布问题之前跳过它。 – 2014-10-10 15:19:58