aboutsummaryrefslogtreecommitdiffhomepage
path: root/nginx.conf
diff options
context:
space:
mode:
Diffstat (limited to 'nginx.conf')
-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;