Fix socket issues

This commit is contained in:
Edgar P. Burkhart 2022-05-21 16:09:40 +02:00
parent d3d69c513a
commit 4157e20376
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227
2 changed files with 2 additions and 2 deletions

View file

@ -6,6 +6,6 @@ server {
location / {
include conf/50-proxy.conf;
proxy_pass http://unix:/run/nummi.socket;
proxy_pass http://unix:/run/nummi/nummi.socket;
}
}

View file

@ -8,7 +8,7 @@ User=nummi
Group=nummi
RuntimeDirectory=nummi
WorkingDirectory=/usr/share/webapps/nummi
ExecStart=/usr/bin/uvicorn nummi.asgi:application -uds /run/nummi/nummi.socket
ExecStart=/usr/bin/uvicorn nummi.asgi:application --uds /run/nummi/nummi.socket
ExecReload=/bin/kill -s HUP $MAINPID
KillMode=mixed
TimeoutStopSec=5