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=/