From ca7a609fef1167374f7c36ae87be154b0142dd47 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Sun, 19 Mar 2023 04:30:18 +0900 Subject: feat(nginx): do not redirect / --- nginx.conf | 3 --- 1 file changed, 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index 9097f28..7b84774 100644 --- a/nginx.conf +++ b/nginx.conf @@ -8,9 +8,6 @@ server { error_page 404 /404.html; - # TODO - rewrite ^/$ /posts/ redirect; - rewrite ^/posts/(my-first-post)/?$ /posts/2021-03-05/$1/ permanent; rewrite ^/posts/(phperkaigi-2021)/?$ /posts/2021-03-30/$1/ permanent; rewrite ^/posts/(cpp-you-can-use-keywords-in-attributes)/?$ /posts/2021-10-02/$1/ permanent; -- cgit v1.2.3-70-g09d2