mirror of
https://github.com/YunoHost-Apps/nextcloud_ynh.git
synced 2024-09-03 19:55:57 +02:00
fix socket path
This commit is contained in:
parent
d2ed8c5f91
commit
cc25e5b24f
2 changed files with 2 additions and 2 deletions
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue