diff --git a/services/audiobookshelf.nix b/services/audiobookshelf.nix index a9c34da..6019108 100644 --- a/services/audiobookshelf.nix +++ b/services/audiobookshelf.nix @@ -21,11 +21,7 @@ in enableACME = true; locations."/" = { proxyPass = "http://127.0.0.1:8234/"; - extraConfig = '' - proxy_http_version 1.1; - proxy_set_header Upgrade $http_upgrade; - proxy_set_header Connection "upgrade"; - ''; + proxyWebsockets = true; }; }; };