#create
This commit is contained in:
parent
fdc6d8d9aa
commit
0990387643
|
@ -13,5 +13,4 @@ import sys
|
||||||
from django.core.wsgi import get_wsgi_application
|
from django.core.wsgi import get_wsgi_application
|
||||||
|
|
||||||
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spug_expand.settings')
|
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'spug_expand.settings')
|
||||||
sys.path.append("/var/www/p3/spug_expand")
|
|
||||||
application = get_wsgi_application()
|
application = get_wsgi_application()
|
||||||
|
|
|
@ -0,0 +1,24 @@
|
||||||
|
# myweb_uwsgi.ini file
|
||||||
|
[uwsgi]
|
||||||
|
|
||||||
|
# Django-related settings
|
||||||
|
|
||||||
|
socket = :8081
|
||||||
|
|
||||||
|
# the base directory (full path)
|
||||||
|
chdir = /var/www/p3/spug_expand
|
||||||
|
|
||||||
|
# Django s wsgi file
|
||||||
|
module = spug_expand.wsgi
|
||||||
|
|
||||||
|
# process-related settings
|
||||||
|
# master
|
||||||
|
master = true
|
||||||
|
|
||||||
|
# maximum number of worker processes
|
||||||
|
processes = 4
|
||||||
|
|
||||||
|
# ... with appropriate permissions - may be needed
|
||||||
|
# chmod-socket = 664
|
||||||
|
# clear environment on exit
|
||||||
|
vacuum = true
|
Loading…
Reference in New Issue