Fix socket issues
This commit is contained in:
parent
d3d69c513a
commit
4157e20376
2 changed files with 2 additions and 2 deletions
|
@ -6,6 +6,6 @@ server {
|
||||||
location / {
|
location / {
|
||||||
include conf/50-proxy.conf;
|
include conf/50-proxy.conf;
|
||||||
|
|
||||||
proxy_pass http://unix:/run/nummi.socket;
|
proxy_pass http://unix:/run/nummi/nummi.socket;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,7 @@ User=nummi
|
||||||
Group=nummi
|
Group=nummi
|
||||||
RuntimeDirectory=nummi
|
RuntimeDirectory=nummi
|
||||||
WorkingDirectory=/usr/share/webapps/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
|
ExecReload=/bin/kill -s HUP $MAINPID
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
TimeoutStopSec=5
|
TimeoutStopSec=5
|
||||||
|
|
Loading…
Reference in a new issue