diff --git a/nummi.nginx b/nummi.nginx index 561128b..5141d84 100644 --- a/nummi.nginx +++ b/nummi.nginx @@ -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; } } diff --git a/nummi.service b/nummi.service index a2af792..b8d6f38 100644 --- a/nummi.service +++ b/nummi.service @@ -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