From cc25e5b24f4a4bc5f252b2290909e83962500eee Mon Sep 17 00:00:00 2001 From: Kay0u Date: Tue, 22 Jun 2021 15:23:37 +0200 Subject: [PATCH] fix socket path --- conf/nginx.conf | 2 +- conf/systemd.service | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 1f3c053..7cad30e 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -166,7 +166,7 @@ location ^~ __PATH__/ { } __STRING_USE_NOTIFY_PUSH__location ^~ __PATH__/push/ { - __STRING_USE_NOTIFY_PUSH__ proxy_pass http://unix:/var/run/__APP__/notify-push.sock:/; + __STRING_USE_NOTIFY_PUSH__ proxy_pass http://unix:__FINAL_PATH__/notify-push.sock:/; __STRING_USE_NOTIFY_PUSH__ proxy_http_version 1.1; __STRING_USE_NOTIFY_PUSH__ proxy_set_header Upgrade $http_upgrade; __STRING_USE_NOTIFY_PUSH__ proxy_set_header Connection "Upgrade"; diff --git a/conf/systemd.service b/conf/systemd.service index ef9e7b6..3392f20 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -2,7 +2,7 @@ Description = Push daemon for Nextcloud clients [Service] -Environment=SOCKET_PATH=/var/run/__APP__/notify-push.sock +Environment=SOCKET_PATH=__FINAL_PATH__/notify-push.sock Environment=NEXTCLOUD_URL=https://__DOMAIN____PATH__ Environment=ALLOW_SELF_SIGNED=true ExecStart=__FINAL_PATH__/apps/notify_push/bin/x86_64/notify_push __FINAL_PATH__/config/config.php