From e61063aee34e2d2ab5d2d78a5a32a60843f256e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Thu, 25 Jan 2024 10:37:18 +0200 Subject: [PATCH] 11sync.net admin: fix url rewriting --- hosts/fra1-a/configuration.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/fra1-a/configuration.nix b/hosts/fra1-a/configuration.nix index c71340d..82ac267 100644 --- a/hosts/fra1-a/configuration.nix +++ b/hosts/fra1-a/configuration.nix @@ -98,7 +98,7 @@ redir https://11sync.net ''; "11sync.net".extraConfig = lib.mkForce '' - redir /admin/* http://admin.11sync.net/admin/{uri} + redir /admin/* http://admin.11sync.net{uri} ${builtins.readFile "${pkgs.e11sync-caddyfile}"} ''; "http://admin.11sync.net".extraConfig = ''