diff options
author | Alejandro Colomar <alx.manpages@gmail.com> | 2021-03-30 01:11:07 +0200 |
---|---|---|
committer | Alejandro Colomar <alx.manpages@gmail.com> | 2021-03-30 01:11:07 +0200 |
commit | cbf718b8e5228a8e4115119f7077fccf060eb53c (patch) | |
tree | f94730f35457901b6db5cc735348f3366fd22155 | |
parent | f720be3f098f1142a64e0d8889cfcac1deeefab2 (diff) |
etc/nginx/conf.d/server.conf: Redirect old CV URLs to the new one
Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
-rw-r--r-- | etc/nginx/conf.d/server.conf | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/nginx/conf.d/server.conf b/etc/nginx/conf.d/server.conf index b743001..b8ce106 100644 --- a/etc/nginx/conf.d/server.conf +++ b/etc/nginx/conf.d/server.conf @@ -28,6 +28,10 @@ server try_files /man-pages.html =404; } + location = /cv/ { + try_files /cv.html /index.html =404; + } + if ($request_method !~ ^(GET|HEAD)$ ) { return 405; } |