Cool. I think I hadn't managed to make websockets work by default when I was trying to improve the packaging of Perkeep for Synology. So this is good to know, if I ever come back to that.
I personally use Traefik instead of Nginx (yes, I am biased), and I forgot to come back to debugging why websockets were broken for Perkeep in that case as well. On Sun, 29 Sep 2019 at 09:13, tgulacsi78 <[email protected]> wrote: > > Another nginx solution if webhooks does not work (UI doesn't update > automatically and has "Server disconnected") in the menu: > nginx needs to enable webhooks explicitly: > > map $http_upgrade $connection_upgrade { > default upgrade; > '' close; > } > proxy_set_header Upgrade $http_upgrade; > proxy_set_header Connection $connection_upgrade; > > -- > You received this message because you are subscribed to the Google Groups > "Perkeep" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/perkeep/c5b267cc-bc71-47b4-aa63-48506153fe31%40googlegroups.com. -- You received this message because you are subscribed to the Google Groups "Perkeep" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/perkeep/CAHcDtnk3CBKwJ62HhfbpQOzJztV%3Ds%3Ds%2BBjk6F-Amt%2BdDQey5hA%40mail.gmail.com.
