I've set up notify_push on my FreeBSD 15.1 server. There are no errors in the log, so I have absolutely nothing to work with. The command line to start it is /usr/local/www/nextcloud/apps/notify_push/bin/fbsd_amd64/notify_push /usr/local/www/nextcloud/config/config.php, and it is run - like PHP - as user www.
The proxy is set up as listed in the README:
location ^~ /push/ {
proxy_pass http://127.0.0.1:7867/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
I've also set the env var PORT=7867 just to make sure.
Here's the output trying to run setup with the URL:
root@nextcloud:~ # occ notify_push:setup https://nextcloud.lyrion.ch/push
✓ redis is configured
🗴 can't connect to push server: Server error: `GET https://nextcloud.lyrion.ch/push/test/cookie` resulted in a `502 Bad Gateway` response:
<html>
<head><title>502 Bad Gateway</title></head>
<body>
<center><h1>502 Bad Gateway</h1></center>
<hr><center>ngin (truncated...)
I've set up notify_push on my FreeBSD 15.1 server. There are no errors in the log, so I have absolutely nothing to work with. The command line to start it is
/usr/local/www/nextcloud/apps/notify_push/bin/fbsd_amd64/notify_push /usr/local/www/nextcloud/config/config.php, and it is run - like PHP - as userwww.The proxy is set up as listed in the README:
I've also set the env var
PORT=7867just to make sure.Here's the output trying to run setup with the URL: