1
0
Fork 0
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:
Kay0u 2021-06-22 15:23:37 +02:00
parent d2ed8c5f91
commit cc25e5b24f
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D
2 changed files with 2 additions and 2 deletions

View file

@ -166,7 +166,7 @@ location ^~ __PATH__/ {
} }
__STRING_USE_NOTIFY_PUSH__location ^~ __PATH__/push/ { __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_http_version 1.1;
__STRING_USE_NOTIFY_PUSH__ proxy_set_header Upgrade $http_upgrade; __STRING_USE_NOTIFY_PUSH__ proxy_set_header Upgrade $http_upgrade;
__STRING_USE_NOTIFY_PUSH__ proxy_set_header Connection "Upgrade"; __STRING_USE_NOTIFY_PUSH__ proxy_set_header Connection "Upgrade";

View file

@ -2,7 +2,7 @@
Description = Push daemon for Nextcloud clients Description = Push daemon for Nextcloud clients
[Service] [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=NEXTCLOUD_URL=https://__DOMAIN____PATH__
Environment=ALLOW_SELF_SIGNED=true Environment=ALLOW_SELF_SIGNED=true
ExecStart=__FINAL_PATH__/apps/notify_push/bin/x86_64/notify_push __FINAL_PATH__/config/config.php ExecStart=__FINAL_PATH__/apps/notify_push/bin/x86_64/notify_push __FINAL_PATH__/config/config.php