Example files for uWSGI deployment, moved WSGI file to "application"

This commit is contained in:
2011-05-04 15:54:57 +01:00
parent 7164719f94
commit e2a71c4312
3 changed files with 11 additions and 12 deletions

View File

@@ -1,12 +0,0 @@
<uwsgi>
<socket>127.0.0.1:8811</socket>
<home>./env/</home>
<pythonpath>./</pythonpath>
<module>auth_wsgi</module>
<master/>
<processes>5</processes>
<!--<daemonize>./logs/uwsgi.log</daemonize>-->
<pidfile>./logs/uwsgi.pid</pidfile>
<vacuum/>
</uwsgi>

11
etc/uwsgi-example.ini Normal file
View File

@@ -0,0 +1,11 @@
[uwsgi]
app_root = ../../apps/%n
socket = 127.0.0.1:8811
chdir = %(app_root)
home = %(app_root)/env/
pythonpath = %(app_root)
module = application
processes = 5