From 03ce987c907cd02df24687574e71e87f490db470 Mon Sep 17 00:00:00 2001 From: stuebinm Date: Mon, 3 May 2021 11:50:37 +0200 Subject: [PATCH] shortcutdomains: 301 redirect -> 302 redirect To prevent interference from indefinite caching of 301 redirects, this now uses 302 redirects instead. --- services/shortdomains.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/shortdomains.nix b/services/shortdomains.nix index 2f24d8c..e45045b 100644 --- a/services/shortdomains.nix +++ b/services/shortdomains.nix @@ -7,7 +7,7 @@ let value = { forceSSL = true; enableACME = true; - locations."/".return = "301 https://${target}$request_uri"; + locations."/".return = "302 https://${target}$request_uri"; }; }; in