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
|
uid = certidude
|
||||||
gid = certidude
|
gid = certidude
|
||||||
plugins = python34
|
plugins = python34
|
||||||
pidfile = /run/certidude/api/uwsgi.pid
|
|
||||||
socket = /run/certidude/api/uwsgi.sock
|
|
||||||
chdir = /tmp
|
chdir = /tmp
|
||||||
module = certidude.wsgi
|
module = certidude.wsgi
|
||||||
callable = app
|
callable = app
|
||||||
@ -189,7 +187,7 @@ configure the site in /etc/nginx/sites-available.d/certidude:
|
|||||||
.. code::
|
.. code::
|
||||||
|
|
||||||
upstream certidude_api {
|
upstream certidude_api {
|
||||||
server unix:///run/certidude/api/uwsgi.sock;
|
server unix:///run/uwsgi/app/certidude/socket;
|
||||||
}
|
}
|
||||||
|
|
||||||
server {
|
server {
|
||||||
|
Loading…
Reference in New Issue
Block a user