mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-13 06:12:16 +00:00
Example files for uWSGI deployment, moved WSGI file to "application"
This commit is contained in:
@@ -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
11
etc/uwsgi-example.ini
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user