aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-03-19 04:30:18 +0900
committernsfisis <nsfisis@gmail.com>2023-03-19 04:30:18 +0900
commitca7a609fef1167374f7c36ae87be154b0142dd47 (patch)
treec906e43cdb65e88d7ec0aa0c5760db607b8e0ad4
parent572cd70d9fc7baf4d86a633a3ab74c6d058a4de8 (diff)
downloadblog.nsfisis.dev-ca7a609fef1167374f7c36ae87be154b0142dd47.tar.gz
blog.nsfisis.dev-ca7a609fef1167374f7c36ae87be154b0142dd47.tar.zst
blog.nsfisis.dev-ca7a609fef1167374f7c36ae87be154b0142dd47.zip
feat(nginx): do not redirect /
-rw-r--r--nginx.conf3
1 files changed, 0 insertions, 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;