1
0
mirror of https://github.com/laurivosandi/certidude synced 2024-12-23 00:25:18 +00:00

api: Use uwsgi provided socket for nginx

This commit is contained in:
Lauri Võsandi 2016-01-02 01:05:48 +02:00
parent 6977d7148e
commit 67c6a49dff

View File

@ -165,8 +165,6 @@ Otherwise manually configure ``uwsgi`` application in ``/etc/uwsgi/apps-availabl
uid = certidude
gid = certidude
plugins = python34
pidfile = /run/certidude/api/uwsgi.pid
socket = /run/certidude/api/uwsgi.sock
chdir = /tmp
module = certidude.wsgi
callable = app
@ -189,7 +187,7 @@ configure the site in /etc/nginx/sites-available.d/certidude:
.. code::
upstream certidude_api {
server unix:///run/certidude/api/uwsgi.sock;
server unix:///run/uwsgi/app/certidude/socket;
}
server {