diff options
Diffstat (limited to 'users/tazjin/blog/default.nix')
-rw-r--r-- | users/tazjin/blog/default.nix | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/users/tazjin/blog/default.nix b/users/tazjin/blog/default.nix index d2f04aaea574..2232be273629 100644 --- a/users/tazjin/blog/default.nix +++ b/users/tazjin/blog/default.nix @@ -52,8 +52,7 @@ in { # Generate embeddable nginx configuration for redirects from old post URLs oldRedirects = lib.concatStringsSep "\n" (map (post: '' location ~* ^(/en)?/${post.oldKey} { - # TODO(tazjin): 301 once this works - return 302 https://tazj.in/blog/${post.key}; + return 301 https://tazj.in/blog/${post.key}; } '') (filter (hasAttr "oldKey") posts)); } |