* Cleanup in deploy configs
This commit is contained in:
parent
81fe6c34e5
commit
9d05b2e1c2
|
|
@ -9,7 +9,7 @@ server {
|
|||
}
|
||||
|
||||
server {
|
||||
set $APP_HOME /var/www/phzhik-poizonstore;
|
||||
set $APP_HOME /var/www/poizonstore;
|
||||
|
||||
listen 443 ssl;
|
||||
server_name crm-poizonstore.ru;
|
||||
|
|
|
|||
|
|
@ -1,14 +1,16 @@
|
|||
[uwsgi]
|
||||
project = poizonstore
|
||||
|
||||
uid = poizon
|
||||
gid = poizon
|
||||
|
||||
# Django-related settings
|
||||
# the base directory (full path)
|
||||
chdir = /var/www/phzhik-poizonstore/
|
||||
chdir = /var/www/%(project)/
|
||||
# Django's wsgi file
|
||||
module = poizonstore:application
|
||||
module = %(project):application
|
||||
# the virtualenv (full path)
|
||||
virtualenv = /var/www/phzhik-poizonstore/env
|
||||
virtualenv = /var/www/%(project)/env
|
||||
|
||||
# process-related settings
|
||||
# master
|
||||
|
|
@ -16,11 +18,11 @@ master = true
|
|||
# maximum number of worker processes
|
||||
processes = 10
|
||||
# the socket (use the full path to be safe
|
||||
#socket = /var/www/phzhik-poizonstore/mysite.sock
|
||||
#socket = /var/www/%(project)/mysite.sock
|
||||
socket = :8001
|
||||
wsgi-file = /var/www/phzhik-poizonstore/poizonstore/wsgi.py
|
||||
pidfile = /tmp/uwsgi.pid
|
||||
stats = /tmp/uwsgi.stats.sock
|
||||
wsgi-file = /var/www/%(project)/poizonstore/wsgi.py
|
||||
pidfile = /tmp/uwsgi/%(project).pid
|
||||
stats = /tmp/uwsgi/uwsgi.stats.sock
|
||||
# ... with appropriate permissions - may be needed
|
||||
chmod-socket = 664
|
||||
# clear environment on exit
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user