From 92c1c0ca07e67336d56bd93539a396e69c4141ce Mon Sep 17 00:00:00 2001 From: Jeff Date: Thu, 17 Aug 2023 16:33:59 -0400 Subject: [PATCH] Add new links; Improve uri parsing --- www/Caddyfile | 6 ++++-- www/src/index.md | 11 ++++++++--- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/www/Caddyfile b/www/Caddyfile index 23cb8dd..c503c05 100644 --- a/www/Caddyfile +++ b/www/Caddyfile @@ -1,4 +1,6 @@ -localhost:8080, +localhost:8080 { + redir http://www.{host}:{port}{uri} +} jeffa.io { redir https://www.{host}{uri} } @@ -7,7 +9,7 @@ www.localhost:8080, www.jeffa.io { root * /srv/ file_server { - index index.html + index /srv/index.html } rewrite @not_html {path}.html @not_html { diff --git a/www/src/index.md b/www/src/index.md index e50c07e..b0d2b63 100644 --- a/www/src/index.md +++ b/www/src/index.md @@ -1,8 +1,13 @@ # jeffa.io -jeff@jeffa.io +I am a programmer in New York. This is my website. -- [/](/index) -- [/cookbook](/cookbook) +- Sites + - [jeffa.io](https://jeffa.io) + - [git.jeffa.io](https://git.jeffa.io) + - [Sourcehut](https://sr.ht/~jeffa) + - [Github](https://github.com/solaeus) +- Articles + - [It's Time to Rethink the Command Line Shell](its_time_to_rethink_the_command_line_shell.md)