shortcutdomains: 301 redirect -> 302 redirect

To prevent interference from indefinite caching of 301 redirects, this
now uses 302 redirects instead.
This commit is contained in:
stuebinm 2021-05-03 11:50:37 +02:00
parent 98c3c807c4
commit 03ce987c90
No known key found for this signature in database
GPG key ID: 8FBE8AAD32FA12B7

View file

@ -7,7 +7,7 @@ let
value = { value = {
forceSSL = true; forceSSL = true;
enableACME = true; enableACME = true;
locations."/".return = "301 https://${target}$request_uri"; locations."/".return = "302 https://${target}$request_uri";
}; };
}; };
in in