diff options
Diffstat (limited to 'app/web')
-rw-r--r-- | app/web/gunicorn.conf | 9 | ||||
-rw-r--r-- | app/web/uwsgi.ini | 16 |
2 files changed, 9 insertions, 16 deletions
diff --git a/app/web/gunicorn.conf b/app/web/gunicorn.conf new file mode 100644 index 0000000..1d12129 --- /dev/null +++ b/app/web/gunicorn.conf @@ -0,0 +1,9 @@ +#[gunicorn] +#user = '' +backlog = '5000' +bind = "unix:/run/gunicorn/tosca_server.sock" +chdir = '/srv' +errorlog = '/tmp/tosca_server_app-error.log' +loglevel = 'info' +pidfile = '/tmp/dcae-tosca-master.pid' +workers = 3 diff --git a/app/web/uwsgi.ini b/app/web/uwsgi.ini deleted file mode 100644 index c4cca12..0000000 --- a/app/web/uwsgi.ini +++ /dev/null @@ -1,16 +0,0 @@ -[uwsgi] -module = tosca_server:application -#plugin = python -chdir = /srv -master = True -processes = 2 -pidfile = /tmp/project-master.pid -vacuum = true -max-requests = 5000 -enable-threads = True -logto = /var/log/uwsgi/%n.log - -uid = dcae -socket = /run/uwsgi/tosca.sock -chown-socket = dcae:nginx -chmod-socket = 664 |