From 38b5e6ae6e151c0eade69b5403757dba7739083f Mon Sep 17 00:00:00 2001 From: "Alexander \"Arav\" Andreev" Date: Sat, 17 Dec 2022 21:29:07 +0400 Subject: [PATCH] f.sock socket file was renamed to just sock. --- configs/nginx.conf | 2 +- init/systemd/dwelling-files.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configs/nginx.conf b/configs/nginx.conf index 26b15a4..79ec9c8 100644 --- a/configs/nginx.conf +++ b/configs/nginx.conf @@ -23,7 +23,7 @@ server { location / { - proxy_pass http://unix:/var/run/dwelling-files/f.sock; + proxy_pass http://unix:/var/run/dwelling-files/sock; proxy_set_header X-Client-Timezone "$gi2_location_tz"; proxy_set_header Host $host; diff --git a/init/systemd/dwelling-files.service b/init/systemd/dwelling-files.service index 6ed362a..9bbdec6 100755 --- a/init/systemd/dwelling-files.service +++ b/init/systemd/dwelling-files.service @@ -6,7 +6,7 @@ After=network-online.target Type=simple Restart=on-failure DynamicUser=yes -ExecStart=/usr/bin/dwelling-files -path /srv/ftp -listen /var/run/dwelling-files/f.sock +ExecStart=/usr/bin/dwelling-files -path /srv/ftp -listen /var/run/dwelling-files/sock ReadOnlyPaths=/ NoExecPaths=/