From df1b7ac6ce29721be3f25db7e9782776ed46609b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sandro=20J=C3=A4ckel?= Date: Wed, 1 Feb 2023 00:29:13 +0100 Subject: [PATCH] owncast: redirect /archive to /archive/ --- hosts/owncast/default.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/hosts/owncast/default.nix b/hosts/owncast/default.nix index ff265e8e..aefd3f0d 100644 --- a/hosts/owncast/default.nix +++ b/hosts/owncast/default.nix @@ -35,6 +35,7 @@ proxyPass = "http://127.0.0.1:${toString config.services.owncast.port}"; proxyWebsockets = true; }; + locations."/archive".return = "307 /archive/"; locations."/archive/" = { alias = "${config.services.owncast-archiver.targetDir}/"; extraConfig = ''