From 73d198015fda37f812fce77546409347583266c8 Mon Sep 17 00:00:00 2001 From: Ahwx Date: Thu, 19 Dec 2024 18:22:06 +0100 Subject: [PATCH] fix: oops ntfy requires websockets --- modules/services/ntfy.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/modules/services/ntfy.nix b/modules/services/ntfy.nix index 71a28f5..66d7a2b 100644 --- a/modules/services/ntfy.nix +++ b/modules/services/ntfy.nix @@ -15,7 +15,10 @@ in { nginx.virtualHosts.${hostname} = { useACMEHost = "liv.town"; forceSSL = true; - locations."/" = { proxyPass = "http://127.0.0.1:${toString port}"; }; + locations."/" = { + proxyPass = "http://127.0.0.1:${toString port}"; + proxyWebsockets = true; + }; }; frp.settings.proxies = [ {