From 1f1dff1b1bb80ffac63615cd772616b829b7bf8c Mon Sep 17 00:00:00 2001 From: Mikael Voss Date: Tue, 24 Sep 2024 12:29:07 +0200 Subject: [PATCH] =?UTF-8?q?solitary:=20Avoid=20re=E2=80=90writing=20ACME?= =?UTF-8?q?=20challenge=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nixos/config/solitary/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/config/solitary/configuration.nix b/nixos/config/solitary/configuration.nix index 4ed0822..b80c5e6 100644 --- a/nixos/config/solitary/configuration.nix +++ b/nixos/config/solitary/configuration.nix @@ -384,7 +384,7 @@ in { http-request redirect code 308 location https://media.solitary.social%[capture.req.uri,regsub("^/media","")] if host-solitary path-media http-request redirect code 308 location https://media.solitary.social%[capture.req.uri,regsub("^/media","")] if host-media path-media http-request redirect code 308 location https://cache.solitary.social%[capture.req.uri] if host-solitary path-proxy - http-request set-path "/media%[path]" if host-media !path-media + http-request set-path "/media%[path]" if host-media !path-acme !path-media use_backend acme if path-acme use_backend security.txt if path-security.txt