feat(api): listen on unix socket with gunicorn

This commit is contained in:
jo 2022-07-06 14:21:55 +02:00 committed by Kyle Robbertze
parent ec45717ccf
commit 1cb03c35d2
4 changed files with 18 additions and 4 deletions

View file

@ -37,6 +37,6 @@ server {
location ~ ^/(api/v2|api-auth) {
include proxy_params;
proxy_redirect off;
proxy_pass http://127.0.0.1:8081;
proxy_pass http://unix:/run/libretime-api.sock;
}
}