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:
parent
6977d7148e
commit
67c6a49dff
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user